aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 11:26:29 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 11:26:29 +0200
commit6a3b822a49c91fc04bf784bd4443ae5782ff2319 (patch)
tree2f225d1d0c9e820b6769f0b6637876bcb3a2b7f9 /CMakeLists.txt
parent36d29fb13e45b369011d4fd79fb7a06c82e2c873 (diff)
downloadsynthpod-6a3b822a49c91fc04bf784bd4443ae5782ff2319.tar.xz
add linker flag for residency.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a987c262..b166e563 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,7 @@ add_definitions("-DSYNTHPOD_VERSION=\"${SYNTHPOD_VERSION}\"")
set(CMAKE_C_FLAGS "-std=gnu11 -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-std=gnu++11 -ffast-math -fvisibility=hidden ${CMAKE_CXX_FLAGS}")
+set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-z,nodelete ${CMAKE_MODULE_LINKER_FLAGS}")
# options
option(BUILD_UI "Build user interface libraries" ON)