CMake: Export the chosen iOS SDK used when configuring Qt
The value is used by mkspecs/features/mac/default_post.prf and ultimately by xcodebuild to decide which arch and SDK to build against. For a simulator_and_device build, no value needs to be set as far as I can see. Task-number: QTBUG-87218 Change-Id: I41992bec6b16aadfd87c3f7c10653a6094e76d3e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
98cc32d93e
commit
4270522916
@ -567,6 +567,10 @@ function(qt_generate_global_device_pri_file)
|
||||
string(APPEND content "DEFAULT_ANDROID_ABIS = ${ANDROID_ABI}\n")
|
||||
endif()
|
||||
|
||||
if(QT_UIKIT_SDK)
|
||||
string(APPEND content "QMAKE_MAC_SDK = ${QT_UIKIT_SDK}\n")
|
||||
endif()
|
||||
|
||||
set(gcc_machine_dump "")
|
||||
if(TEST_machine_tuple)
|
||||
set(gcc_machine_dump "${TEST_machine_tuple}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user