aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-08-07 19:02:26 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-08-07 19:02:26 +0200
commit9adef869ed848098919ff9c359833053af8bedbb (patch)
tree89246f1f9e59629932d1d60bcd0b3f1a59fd08a3 /CMakeLists.txt
parentc444ffb7fb5eca37ffb5849835f32080cb842c3e (diff)
downloadsynthpod-9adef869ed848098919ff9c359833053af8bedbb.tar.xz
fix symbol visibility.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6b5210d7..7b62ab6d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@ set(SYNTHPOD_MICRO_VERSION 1)
set(SYNTHPOD_VERSION "${SYNTHPOD_MAJOR_VERSION}.${SYNTHPOD_MINOR_VERSION}.${SYNTHPOD_MICRO_VERSION}")
add_definitions("-DSYNTHPOD_VERSION=\"${SYNTHPOD_VERSION}\"")
-set(CMAKE_C_FLAGS "-std=gnu11 -ffast-math ${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "-std=gnu11 -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}")
# options
option(BUILD_UI "Build user interface libraries" ON)