From 1c8f191d0ad80cb7d444f384303f43cdb263847a Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Mon, 17 Sep 2018 09:40:07 +0200
Subject: [PATCH] [App] fixed cmakelists

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

diff --git a/Applications/CLI/CMakeLists.txt b/Applications/CLI/CMakeLists.txt
index f15fcb73742..180bbf2c4ea 100644
--- a/Applications/CLI/CMakeLists.txt
+++ b/Applications/CLI/CMakeLists.txt
@@ -46,7 +46,7 @@ if(OGS_USE_PYTHON)
     if(BUILD_SHARED_LIBS)
         # Add macro definition, because static libs make special handling necessary
         # s.t. the embedded OpenGeoSys Python module won't be removed by the linker.
-        target_compile_definitions(ogs_embedded_python OGS_BUILD_SHARED_LIBS)
+        target_compile_definitions(ogs_embedded_python PRIVATE OGS_BUILD_SHARED_LIBS)
     endif()
 endif()
 
-- 
GitLab