mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 15:41:11 +02:00
Bug2799: mod-script-pipe fails to load on Mac...
... This broke at commit 938bbeb
with changes in CMake scripts.
This can be fixed by invoking CopyLibs.cmake for modules too.
This affects only the macOS build.
This commit is contained in:
@@ -359,6 +359,15 @@ function( audacity_module_fn NAME SOURCES IMPORT_TARGETS
|
||||
PREFIX ""
|
||||
FOLDER "modules" # for IDE organization
|
||||
)
|
||||
if( CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin" )
|
||||
add_custom_command(
|
||||
TARGET ${TARGET}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-D SRC="${_MODDIR}/${TARGET}.so"
|
||||
-D WXWIN="${_SHARED_PROXY_BASE_PATH}/$<CONFIG>"
|
||||
-P ${AUDACITY_MODULE_PATH}/CopyLibs.cmake
|
||||
POST_BUILD )
|
||||
endif()
|
||||
else()
|
||||
set( ATTRIBUTES "shape=octagon" )
|
||||
set_target_property_all( ${TARGET} ${DIRECTORY_PROPERTY} "${_SHARED_PROXY_PATH}" )
|
||||
|
Reference in New Issue
Block a user