From 3d998856895f0e82a4d0eadd398dafbe1d027e34 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 3 May 2018 17:08:23 +0200 Subject: Avoid setting compiler options directly --- common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 COMPONENT Devel ) -add_definitions("-fvisibility=hidden") +set(CMAKE_CXX_VISIBILITY_PRESET default) install(EXPORT SinkTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE SinkTargets.cmake) -- cgit v1.2.3