1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

CMake: copy dylibs into macOS bundle

Somehow this was broken by
https://github.com/tenacityteam/tenacity/pull/228

I don't know how it ever worked before without this.

Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
Be 2021-09-13 01:26:06 -05:00
parent 9f85801ff6
commit 9a48dffa97

View File

@ -1349,6 +1349,13 @@ else()
DESTINATION "."
RESOURCE DESTINATION "${_APPDIR}/Resources"
)
set_target_properties(${TARGET} PROPERTIES
MACOSX_BUNDLE true
)
install(CODE "
include(BundleUtilities)
fixup_bundle( \${CMAKE_INSTALL_PREFIX}/Tenacity.app \"\" \"${CMAKE_PREFIX_PATH}/lib\" )")
elseif( WIN32 )
install(
DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/"