From 669859a8b0b5dc60272c17ecc50f71e532205d71 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 1 Feb 2021 22:09:22 +0100
Subject: [PATCH] [CMake] Set OGS_BUILD_SWMM to ON per default on Windows.

---
 CMakeLists.txt                    | 2 +-
 scripts/ci/jobs/build-gui-win.yml | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc932887c31..c8e1a62bcd2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,7 @@ option(OGS_BUILD_GUI "Should the Data Explorer be built?" OFF)
 option(OGS_BUILD_UTILS "Should the utilities programms be built?" OFF)
 
 if(WIN32)
-    option(OGS_BUILD_SWMM "Should the SWMM interface be built?" OFF)
+    option(OGS_BUILD_SWMM "Should the SWMM interface be built?" ON)
 endif()
 if(NOT WIN32 AND OGS_BUILD_SWMM)
     message(FATAL_ERROR "OGS_BUILD_SWMM requires Windows!")
diff --git a/scripts/ci/jobs/build-gui-win.yml b/scripts/ci/jobs/build-gui-win.yml
index b807ab28d35..2798c7f2d92 100644
--- a/scripts/ci/jobs/build-gui-win.yml
+++ b/scripts/ci/jobs/build-gui-win.yml
@@ -14,7 +14,6 @@ build gui win:
       -DOGS_BUILD_CLI=OFF
       -DOGS_BUILD_GUI=ON
       -DOGS_BUILD_UTILS=ON
-      -DOGS_BUILD_SWMM=ON
       -DOGS_USE_NETCDF=ON
       -DOGS_CI_TESTRUNNER_REPEAT=1
   parallel:
-- 
GitLab