mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-30 12:02:04 +03:00
Fix macOS rpath
This commit is contained in:
parent
20948522ea
commit
c266b921a7
@ -380,6 +380,9 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
set (SYNERGY_BUNDLE_BINARY_DIR ${SYNERGY_BUNDLE_APP_DIR}/Contents/MacOS)
|
set (SYNERGY_BUNDLE_BINARY_DIR ${SYNERGY_BUNDLE_APP_DIR}/Contents/MacOS)
|
||||||
|
|
||||||
configure_files (${SYNERGY_BUNDLE_SOURCE_DIR} ${SYNERGY_BUNDLE_DIR})
|
configure_files (${SYNERGY_BUNDLE_SOURCE_DIR} ${SYNERGY_BUNDLE_DIR})
|
||||||
|
|
||||||
|
set (CMAKE_INSTALL_RPATH "@loader_path/../Libraries;@loader_path/../Frameworks")
|
||||||
|
|
||||||
elseif(WIN32 AND NOT UNIX)
|
elseif(WIN32 AND NOT UNIX)
|
||||||
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer)
|
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user