CMake: Add iOS mkspec mapping for the wrapper qmake
If no mkspec is provided, we default to the macx-clang-ios mkspec when building for iOS. This ensures that the wrapper qmake script is usable for building iOS apps with qmake. Task-number: QTBUG-87218 Change-Id: Ib02b580c8382b04455c9f820163062591d14a15b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
1925909c5f
commit
98cc32d93e
@ -301,6 +301,8 @@ elseif(ANDROID)
|
|||||||
elseif(CLANG)
|
elseif(CLANG)
|
||||||
set(QT_DEFAULT_MKSPEC android-clang)
|
set(QT_DEFAULT_MKSPEC android-clang)
|
||||||
endif()
|
endif()
|
||||||
|
elseif(IOS)
|
||||||
|
set(QT_DEFAULT_MKSPEC macx-ios-clang)
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(QT_DEFAULT_MKSPEC macx-clang)
|
set(QT_DEFAULT_MKSPEC macx-clang)
|
||||||
elseif(EMSCRIPTEN)
|
elseif(EMSCRIPTEN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user