mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
removed unnecessary Option from actool command and failsafe attempt for older versions
Signed-off-by: Richard Voigtmann <richard.v.voigtmann@gmail.com>
This commit is contained in:
parent
7f740e4ad6
commit
e125f4767f
1 changed files with 3 additions and 2 deletions
|
|
@ -428,7 +428,6 @@ if(UNIX AND APPLE)
|
||||||
--compile "${ASSETS_OUT_DIR}"
|
--compile "${ASSETS_OUT_DIR}"
|
||||||
--output-partial-info-plist /dev/null
|
--output-partial-info-plist /dev/null
|
||||||
--app-icon PrismLauncher
|
--app-icon PrismLauncher
|
||||||
--include-all-app-icons
|
|
||||||
--enable-on-demand-resources NO
|
--enable-on-demand-resources NO
|
||||||
--target-device mac
|
--target-device mac
|
||||||
--minimum-deployment-target ${CMAKE_OSX_DEPLOYMENT_TARGET}
|
--minimum-deployment-target ${CMAKE_OSX_DEPLOYMENT_TARGET}
|
||||||
|
|
@ -438,7 +437,9 @@ if(UNIX AND APPLE)
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
add_custom_target(compile_assets ALL DEPENDS "${GENERATED_ASSETS_CAR}")
|
add_custom_target(compile_assets ALL DEPENDS "${GENERATED_ASSETS_CAR}")
|
||||||
install(FILES "${GENERATED_ASSETS_CAR}" DESTINATION "${RESOURCES_DEST_DIR}")
|
if(EXISTS "${GENERATED_ASSETS_CAR}")
|
||||||
|
install(FILES "${GENERATED_ASSETS_CAR}" DESTINATION "${RESOURCES_DEST_DIR}")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "actool not found. Cannot compile macOS app icons.\n"
|
message(FATAL_ERROR "actool not found. Cannot compile macOS app icons.\n"
|
||||||
"Install Xcode command line tools: 'xcode-select --install'")
|
"Install Xcode command line tools: 'xcode-select --install'")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue