From 8fe39f1f2f005fbee72bdb38b28f760305bf9dd3 Mon Sep 17 00:00:00 2001 From: Joe Wallwork Date: Tue, 27 Aug 2024 14:44:32 +0100 Subject: [PATCH] Fix conditional compilation --- core/src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/CMakeLists.txt b/core/src/CMakeLists.txt index 1b9cad0e4..4272f0e08 100644 --- a/core/src/CMakeLists.txt +++ b/core/src/CMakeLists.txt @@ -1,6 +1,6 @@ # Sources for the main neXtSIM model -if(USE_XIOS) +if(ENABLE_XIOS) set(ParaGridIOImpl "ParaGridIO_Xios") else() set(ParaGridIOImpl "ParaGridIO") @@ -18,7 +18,6 @@ set(BaseSources "CommonRestartMetadata.cpp" "RectGridIO.cpp" "${ParaGridIOImpl}.cpp" - "ParaGridIO_Xios.cpp" "FileCallbackCloser.cpp" "Finalizer.cpp" "DevStep.cpp"