File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -397,16 +397,6 @@ set_target_properties(plugdata_standalone PROPERTIES BUNDLE_OUTPUT_DIRECTORY_REL
397397set_target_properties (plugdata_standalone PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PLUGDATA_PLUGINS_LOCATION} /Standalone)
398398set_target_properties (plugdata_standalone PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE ${PLUGDATA_PLUGINS_LOCATION} /Standalone)
399399
400- # To make sure externals work, we need to make the standalone have its symbols be visible
401- target_compile_options (plugdata_standalone PRIVATE -fvisibility=default)
402-
403- set_target_properties (plugdata PROPERTIES CXX_VISIBILITY_PRESET hidden)
404- set_target_properties (plugdata_fx PROPERTIES CXX_VISIBILITY_PRESET hidden)
405- if (APPLE )
406- set_target_properties (plugdata_midi PROPERTIES CXX_VISIBILITY_PRESET hidden)
407- endif ()
408-
409-
410400set_target_properties (plugdata PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PLUGDATA_PLUGINS_LOCATION} )
411401set_target_properties (plugdata PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PLUGDATA_PLUGINS_LOCATION} )
412402
Original file line number Diff line number Diff line change @@ -394,6 +394,8 @@ if(MSVC)
394394else ()
395395 add_library (pd STATIC ${SOURCE_FILES} )
396396 target_compile_definitions (pd PRIVATE ${LIBPD_COMPILE_DEFINITIONS} )
397+
398+ # To make sure externals work, we need to make single-instance pd have its symbols be visible
397399 target_compile_options (pd PRIVATE -fvisibility=default)
398400endif ()
399401
You can’t perform that action at this time.
0 commit comments