From 8bc6637b165a054331c727f543e749d06722a175 Mon Sep 17 00:00:00 2001
From: Oliver Heidmann <oliver.heidmann@mpimet.mpg.de>
Date: Thu, 20 Feb 2025 12:45:04 +0100
Subject: [PATCH] fixed typo in define for NetCDF

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b658f2ec..af336c483 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 ()
-- 
GitLab