summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Linux-GNU.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-10 06:32:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-10 06:32:53 +0200
commitdbdc15bf200d8fcade0fb0b48701e0366d03806c (patch)
tree7ec3d42ecdd5e331de136d6992c22503c855df15 /userconfig-sthalik@Linux-GNU.cmake
parent21afd181b2b59c5c10643754b3532fa1d6226030 (diff)
cmake
Diffstat (limited to 'userconfig-sthalik@Linux-GNU.cmake')
-rw-r--r--userconfig-sthalik@Linux-GNU.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/userconfig-sthalik@Linux-GNU.cmake b/userconfig-sthalik@Linux-GNU.cmake
index 76e59ea1..526bec51 100644
--- a/userconfig-sthalik@Linux-GNU.cmake
+++ b/userconfig-sthalik@Linux-GNU.cmake
@@ -26,6 +26,8 @@ if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
add_definitions(-D_GLIBCXX_USE_DEPRECATED=0 -D_GLIBCXX_USE_CXX11_ABI)
add_definitions(-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC)
set(OpenCV_FOUND 0)
+else()
+ set(BUILD_SHARED_LIBS OFF)
endif()
add_compile_definitions("$<IF:$<CONFIG:Debug,DEBUG>,,_FORTIFY_SOURCE=3>")
@@ -65,7 +67,6 @@ function(fm-userconfig-external)
MAGNUM_BUILD_STATIC_UNIQUE_GLOBALS OFF
)
endif()
- set(BUILD_SHARED_LIBS OFF PARENT_SCOPE)
endfunction()
# for floormat sources only