summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:20:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:49:12 +0100
commit8151bc76140b1e97f656101254e3a4e2d164129a (patch)
tree1070f728eab7201b288bd87fb748fdb2b25b907e /cmake
parentf14becff3653fa71911303fb0898a5d5a9cdfe95 (diff)
cmake: nuke -rdynamic
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-platform.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index aac3a2b8..c659e4c0 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -58,3 +58,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR APPLE)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS OFF)
+
+# nix -rdynamic passed from Linux-GNU.cmake
+if(CMAKE_COMPILER_IS_GNUCXX)
+ set(__LINUX_COMPILER_GNU 1)
+ set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS)
+ set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS)
+endif()