diff --git a/cmake-config b/cmake-config index 50fc977846..e600e38681 100755 --- a/cmake-config +++ b/cmake-config @@ -248,8 +248,8 @@ fi MODERN=${MODERN:-NO} if [ "${MODERN}" == "YES" ] then - MODERN_ARG="-D TPL_ENABLE_HDF5:BOOL=ON -D Netcdf_ALLOW_MODERN:BOOL=ON" -# MODERN_ARG="-D Netcdf_ALLOW_MODERN:BOOL=ON" +# MODERN_ARG="-D TPL_ENABLE_HDF5:BOOL=ON -D Netcdf_ALLOW_MODERN:BOOL=ON" + MODERN_ARG="-D Netcdf_FORCE_MODERN:BOOL=ON" else MODERN_ARG="" fi