From a28ec8c22293e6e5275fac9a011a376f78051207 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 10 Aug 2020 13:24:59 -0600 Subject: [PATCH] fixing cmake use of defines --- CMakeLists.txt | 2 +- cmake_config.h.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dac58ab5358..b4bf275c2de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ option (PIO_ENABLE_LOGGING "Enable debug logging (large output possible)" OFF) option (PIO_ENABLE_DOC "Enable building PIO documentation" ON) option (PIO_ENABLE_COVERAGE "Enable code coverage" OFF) option (PIO_ENABLE_EXAMPLES "Enable PIO examples" ON) -option (PIO_ENABLE_NETCDF_INTEGRATION "Enable netCDF integration (netcdf-c-4.7.4 or later required)" ON) +option (PIO_ENABLE_NETCDF_INTEGRATION "Enable netCDF integration" OFF) option (PIO_INTERNAL_DOC "Enable PIO developer documentation" OFF) option (PIO_TEST_BIG_ENDIAN "Enable test to see if machine is big endian" ON) option (PIO_USE_MPIIO "Enable support for MPI-IO auto detect" ON) diff --git a/cmake_config.h.in b/cmake_config.h.in index 41e1a194687..ac4551f8b26 100644 --- a/cmake_config.h.in +++ b/cmake_config.h.in @@ -32,8 +32,8 @@ #define USE_VARD @USE_VARD@ -#cmakedefine HAVE_PAR_FILTERS @HAVE_PAR_FILTERS@ +#cmakedefine HAVE_PAR_FILTERS -#cmakedefine NETCDF_INTEGRATION @NETCDF_INTEGRATION@ +#cmakedefine NETCDF_INTEGRATION #endif /* _PIO_CONFIG_ */