diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b658f2ecbf7bde9aa6a78d3cef67882cb24c440..af336c4838731daadf8460ae3722dd550254cb34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ find_package(netCDF 4.0 REQUIRED) if (TARGET netCDF::netcdf) message(DEBUG "Checking for netCDF_HAS_NC4 flag equal 'yes' : flag is: ${netCDF_HAS_NC4}") - list(APPEND cdo_compile_defintions HVAE_NETCDF=${netCDF_FOUND}) + list(APPEND cdo_compile_defintions HAVE_NETCDF=${netCDF_FOUND}) else() message(WARNING "Netcdf not found, compiling without netcdf") endif ()