From 95a78adb55b91d2c3e9ef0ca58c50d93b296fb4a Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Fri, 16 Sep 2016 09:20:51 +0200 Subject: [PATCH] [CMake] Added option OGS_BUILD_SWMM. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69c6e3f8ae1..788c849537a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,13 @@ if(OGS_BUILD_GUI) endif() option(OGS_BUILD_UTILS "Should the utilities programms be built?" OFF) +if(WIN32) + option(OGS_BUILD_SWMM "Should the SWMM interface be built?" OFF) +endif() +if(NOT WIN32 AND OGS_BUILD_SWMM) + message(FATAL_ERROR "OGS_BUILD_SWMM requires Windows!") +endif() + option(OGS_NO_EXTERNAL_LIBS "Builds OGS without any external dependencies." OFF) # Linear solvers -- GitLab