We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6841ab commit cf12f9dCopy full SHA for cf12f9d
libvisual/libvisual/CMakeLists.txt
@@ -146,10 +146,12 @@ SET_TARGET_PROPERTIES(libvisual
146
OUTPUT_NAME visual-${LV_VERSION_SUFFIX}
147
VERSION 0.0.0
148
SOVERSION 0
149
- COMPILE_OPTIONS -fvisibility=hidden
150
- LINK_FLAGS -Wl,--no-undefined
151
)
152
+TARGET_COMPILE_OPTIONS(libvisual PRIVATE -fvisibility=hidden)
+
153
+TARGET_LINK_OPTIONS(libvisual PRIVATE -Wl,--no-undefined)
154
155
IF(ENABLE_TESTS)
156
TARGET_COMPILE_DEFINITIONS(libvisual PRIVATE _LV_BUILD_PRIVATE_TEST_FUNCS)
157
ENDIF()
0 commit comments