Skip to content

Commit

Permalink
python compat lib
Browse files Browse the repository at this point in the history
  • Loading branch information
webisu committed Feb 13, 2025
1 parent 39a2cb6 commit f307fe6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ endif()
# If user wants to use NCEPLIBS-ip, find it and the sp library.
message(STATUS "Checking if the user want to use NCEPLIBS-ip...")
if(USE_IPOLATES)
find_package(ip 5.1.0 CONFIG REQUIRED)
find_package(ip 5.2.0 CONFIG REQUIRED)
list(APPEND definitions_list -DIPOLATES_LIB="ipolates_lib_d")
# list(APPEND definitions_list -DUSE_IPOLATES)
endif()
Expand All @@ -115,13 +115,13 @@ endif()

message(STATUS "Checking if the user wants to use Jasper...")
if(USE_JASPER)
find_package(g2c 1.9.0 CONFIG REQUIRED)
find_package(g2c 2.1.0 CONFIG REQUIRED)
endif()

# Find required packages to use OpenJPEG
message(STATUS "Checking if the user wants to use OpenJPEG...")
if(USE_OPENJPEG)
find_package(g2c 1.9.0 CONFIG REQUIRED)
find_package(g2c 2.1.0 CONFIG REQUIRED)
endif()

message(STATUS "Checking if the user want to use OpenMP...")
Expand All @@ -131,7 +131,7 @@ endif()

message(STATUS "Checking if the user wants to use PNG...")
if(USE_PNG)
find_package(g2c 1.9.0 CONFIG REQUIRED)
find_package(g2c 2.1.0 CONFIG REQUIRED)
endif()

# Find required packages to use AEC
Expand Down
1 change: 1 addition & 0 deletions wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ endif()

if(USE_IPOLATES)
target_link_libraries(obj_lib PUBLIC ip::ip_d)
target_link_libraries(wgrib2_lib PUBLIC ip::ip_d)
target_link_libraries(wgrib2_exe PUBLIC ip::ip_d)

# Link to the Fortran runtime library for each compiler if using ip2.
Expand Down

0 comments on commit f307fe6

Please sign in to comment.