mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Fix uninitialized variable warnings when configuring for iOS
This commit is contained in:
parent
0ed2ae64fa
commit
191dfe2e19
1 changed files with 15 additions and 0 deletions
|
|
@ -2088,6 +2088,21 @@ function(juce_add_console_app target)
|
|||
target_compile_definitions(${target} PRIVATE _CONSOLE=1)
|
||||
endif()
|
||||
|
||||
# When building for iOS, these properties will be read in order to populate
|
||||
# a plist for the app. We probably don't care whether these values are sane;
|
||||
# if we wanted to run on iOS, we'd use juce_gui_app instead.
|
||||
# We clear these explicitly to avoid warnings when configuring with
|
||||
# --warn-uninitialized
|
||||
set_target_properties(${target} PROPERTIES
|
||||
MACOSX_BUNDLE_BUNDLE_NAME ""
|
||||
MACOSX_BUNDLE_BUNDLE_VERSION ""
|
||||
MACOSX_BUNDLE_COPYRIGHT ""
|
||||
MACOSX_BUNDLE_GUI_IDENTIFIER ""
|
||||
MACOSX_BUNDLE_ICON_FILE ""
|
||||
MACOSX_BUNDLE_INFO_STRING ""
|
||||
MACOSX_BUNDLE_LONG_VERSION_STRING ""
|
||||
MACOSX_BUNDLE_SHORT_VERSION_STRING "")
|
||||
|
||||
_juce_initialise_target(${target} ${ARGN})
|
||||
|
||||
if(NOT JUCE_ARG__NO_RESOURCERC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue