From ed0ae31725d9e6a112e8a81ad9724fc6ed1909e0 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 16 Mar 2020 13:36:36 +0100
Subject: [PATCH] [CMake] Fixed wrong order of statements.

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34907358b01..81c012b7f62 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,6 +23,7 @@ include(CTest)
 # ---- Preliminary Options ----
 set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
 option(BUILD_SHARED_LIBS "Create shared libraries?" OFF)
+option(OGS_BUILD_CLI "Should the OGS simulator be built?" ON)
 set(CMAKE_LIBRARY_SEARCH_PATH
     ""
     CACHE PATH
@@ -92,7 +93,6 @@ if((CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) AND GPROF_PATH)
            "Enables compiling with flags set for profiling with gprof." OFF)
 endif() # GCC AND GPROF_PATH
 
-option(OGS_BUILD_CLI "Should the OGS simulator be built?" ON)
 option(OGS_BUILD_GUI "Should the Data Explorer be built?" OFF)
 if(OGS_BUILD_GUI)
     add_definitions(-DOGS_BUILD_GUI)
-- 
GitLab