configure: Fix iOS option to be passed for both platform and xplatform
Task-number: QTBUG-95838 Pick-to: 6.2 Change-Id: If0617e1d9c47595d4a350a91ab4f7d47546ebf08 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>bb10
parent
67dae9e6ee
commit
3d2dc88850
|
|
@ -807,8 +807,10 @@ endif()
|
|||
translate_string_input(android-javac-source QT_ANDROID_JAVAC_SOURCE)
|
||||
translate_string_input(android-javac-target QT_ANDROID_JAVAC_TARGET)
|
||||
|
||||
# FIXME: config_help.txt says -sdk should apply to macOS as well.
|
||||
translate_string_input(sdk QT_UIKIT_SDK)
|
||||
if(DEFINED INPUT_sdk OR (DEFINED INPUT_xplatform AND INPUT_xplatform STREQUAL "macx-ios-clang"))
|
||||
if(DEFINED INPUT_sdk OR (DEFINED INPUT_xplatform AND INPUT_xplatform STREQUAL "macx-ios-clang")
|
||||
OR (DEFINED INPUT_platform AND INPUT_platform STREQUAL "macx-ios-clang"))
|
||||
push("-DCMAKE_SYSTEM_NAME=iOS")
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue