1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Prefer using launch storyboard on iOS even when a custom xcassets folder is set

This commit is contained in:
attila 2022-08-05 11:26:36 +02:00
parent acc6addb86
commit ba8d5e3e1c
2 changed files with 7 additions and 4 deletions

View file

@ -1344,10 +1344,11 @@ function(_juce_set_fallback_properties target)
_juce_set_property_if_not_set(${target} BUILD_VERSION "${final_version}")
get_target_property(custom_xcassets ${target} JUCE_CUSTOM_XCASSETS_FOLDER)
get_target_property(custom_storyboard ${target} JUCE_LAUNCH_STORYBOARD_FILE)
set(needs_storyboard TRUE)
if(custom_xcassets)
if((NOT custom_storyboard) AND custom_xcassets AND (EXISTS "${custom_xcassets}/LaunchImage.launchimage"))
set(needs_storyboard FALSE)
endif()