build: place core built runtime on mac os in the app bundle, must use generator expression here
This commit is contained in:
parent
2376c61292
commit
35d26645a7
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ if(APPLE)
|
|||
set_target_properties(${target} PROPERTIES
|
||||
BUILD_WITH_INSTALL_RPATH TRUE
|
||||
INSTALL_RPATH "@loader_path/../Libraries;@loader_path/../Frameworks"
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_INSTALL_BINDIR}
|
||||
RUNTIME_OUTPUT_DIRECTORY $<TARGET_BUNDLE_CONTENT_DIR:${CMAKE_PROJECT_PROPER_NAME}>/MacOS
|
||||
)
|
||||
elseif (WIN32)
|
||||
install(RUNTIME_DEPENDENCY_SET coreDeps
|
||||
|
|
|
|||
Loading…
Reference in a new issue