mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-05 22:23:34 +00:00
Add -DUSE_MACDEPLOYQT option (default off)
This commit is contained in:
parent
291837701b
commit
fe316643a0
@ -182,8 +182,11 @@ elseif (APPLE)
|
||||
endif()
|
||||
|
||||
# run macdeployqt to gather necessary qt libraries and plugins
|
||||
add_custom_command(TARGET pwe_editor POST_BUILD COMMAND ${MACDEPLOYQT_PROGRAM} ARGS
|
||||
$<TARGET_FILE_DIR:pwe_editor>/../..)
|
||||
option(USE_MACDEPLOYQT "Run macdeployqt on build" OFF)
|
||||
if(USE_MACDEPLOYQT)
|
||||
add_custom_command(TARGET pwe_editor POST_BUILD COMMAND ${MACDEPLOYQT_PROGRAM} ARGS
|
||||
$<TARGET_FILE_DIR:pwe_editor>/../..)
|
||||
endif()
|
||||
|
||||
# Install targets for CPack distribution
|
||||
install(TARGETS pwe_editor BUNDLE DESTINATION ".")
|
||||
|
Loading…
x
Reference in New Issue
Block a user