From 5d5150458cf0a28285544d03c305aff05d212afe Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 27 Mar 2024 04:53:13 -0600 Subject: [PATCH] trying ip build --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28233ae7..d84d4741 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,6 +81,11 @@ elseif(USE_IPOLATES EQUAL 3) find_package(ip2 CONFIG REQUIRED) endif() +if(NOT USE_IPOLATES EQUAL 0) + list(APPEND definitions_list -DIPOLATES_LIB="ipolates_lib") +endif() +list(APPEND definitions_list -DUSE_IPOLATES=${USE_IPOLATES}) + if(USE_NETCDF4) find_package(NetCDF MODULE REQUIRED COMPONENTS C) list(APPEND definitions_list -DUSE_NETCDF4 -DUSE_HDF5 -DHDF5="hdf5")