diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:08:23 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:08:23 +0200 |
commit | 3d998856895f0e82a4d0eadd398dafbe1d027e34 (patch) | |
tree | d1174d7625b54fcccca0a4d417ad2406d36ccc0f | |
parent | 41ba42150d4232807299214a6fcfa44c669489b0 (diff) | |
download | sink-3d998856895f0e82a4d0eadd398dafbe1d027e34.tar.gz sink-3d998856895f0e82a4d0eadd398dafbe1d027e34.zip |
Avoid setting compiler options directly
-rw-r--r-- | common/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 51145fd..40c955e 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -24,7 +24,7 @@ install(FILES | |||
24 | COMPONENT Devel | 24 | COMPONENT Devel |
25 | ) | 25 | ) |
26 | 26 | ||
27 | add_definitions("-fvisibility=hidden") | 27 | set(CMAKE_CXX_VISIBILITY_PRESET default) |
28 | 28 | ||
29 | install(EXPORT SinkTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE SinkTargets.cmake) | 29 | install(EXPORT SinkTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE SinkTargets.cmake) |
30 | 30 | ||