diff --git a/CMakeLists.txt b/CMakeLists.txt index 7336112d..8f0c4365 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ endif() message(STATUS "Checking if the user want to use NCEPLIBS-ip...") if(USE_IPOLATES) find_package(ip CONFIG REQUIRED) - list(APPEND definitions_list -DIPOLATES_LIB="ipolates_lib_d") + list(APPEND definitions_list -DIPOLATES_LIB="ipolates_lib_4") endif() message(STATUS "Checking if the user want to use NetCDF...") diff --git a/wgrib2/CMakeLists.txt b/wgrib2/CMakeLists.txt index 3c09151c..2561e917 100644 --- a/wgrib2/CMakeLists.txt +++ b/wgrib2/CMakeLists.txt @@ -106,7 +106,7 @@ if(USE_G2CLIB) endif() if(USE_IPOLATES) - target_link_libraries(obj_lib PUBLIC ip::ip_d) + target_link_libraries(obj_lib PUBLIC ip::ip_4) # Link to the Fortran runtime library for each compiler if using ip2. # The wgrib2 exectuable is created using the C compiler and