mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +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:
parent
9f85801ff6
commit
9a48dffa97
@ -1349,6 +1349,13 @@ else()
|
|||||||
DESTINATION "."
|
DESTINATION "."
|
||||||
RESOURCE DESTINATION "${_APPDIR}/Resources"
|
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 )
|
elseif( WIN32 )
|
||||||
install(
|
install(
|
||||||
DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/"
|
DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user