We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be7df0d commit 0490dfdCopy full SHA for 0490dfd
1 file changed
lib/event-libs/CMakeLists.txt
@@ -31,6 +31,10 @@ macro(create_evlib_plugin PLUGIN_NAME MAIN_SRC PLUGIN_HDR EVLIB)
31
source_group("Headers Private" FILES ${PLUGIN_HDR})
32
source_group("Sources" FILES ${MAIN_SRC})
33
add_library(websockets-${PLUGIN_NAME} SHARED ${MAIN_SRC} ${PLUGIN_HDR})
34
+ if (LWS_HAVE_VISIBILITY)
35
+ set_target_properties(websockets-${PLUGIN_NAME} PROPERTIES
36
+ C_VISIBILITY_PRESET default)
37
+ endif()
38
39
if (APPLE)
40
set_property(TARGET websockets-${PLUGIN_NAME} PROPERTY MACOSX_RPATH YES)
0 commit comments