From e125f4767f8efd52a6e181bae67bc5a4a0422a0c Mon Sep 17 00:00:00 2001 From: Richard Voigtmann Date: Sun, 14 Dec 2025 02:14:27 +0100 Subject: [PATCH] removed unnecessary Option from actool command and failsafe attempt for older versions Signed-off-by: Richard Voigtmann --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 36573ed17..0cf4f406b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -428,7 +428,6 @@ if(UNIX AND APPLE) --compile "${ASSETS_OUT_DIR}" --output-partial-info-plist /dev/null --app-icon PrismLauncher - --include-all-app-icons --enable-on-demand-resources NO --target-device mac --minimum-deployment-target ${CMAKE_OSX_DEPLOYMENT_TARGET} @@ -438,7 +437,9 @@ if(UNIX AND APPLE) VERBATIM ) 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() message(FATAL_ERROR "actool not found. Cannot compile macOS app icons.\n" "Install Xcode command line tools: 'xcode-select --install'")