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:
parent
acc6addb86
commit
ba8d5e3e1c
2 changed files with 7 additions and 4 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue