summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-03-16 13:36:47 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-03-16 17:57:56 +0100
commit77885f8402ad65e00e01c5e15777edcedf9741b2 (patch)
tree456874ac9ce27cfb1d4c6100056893620b308529 /qmake
parentdb745fdd2dbd57af54f7da637eef6c892824a6fb (diff)
cmake: Remove APPLE prefix from platform names
None of the other platforms have it. Change-Id: Ib448c2c03ba03f711b507ef391977c0e6aa7c192 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/.prev_CMakeLists.txt2
-rw-r--r--qmake/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/qmake/.prev_CMakeLists.txt b/qmake/.prev_CMakeLists.txt
index 90dd2a56e2..5d32aa4251 100644
--- a/qmake/.prev_CMakeLists.txt
+++ b/qmake/.prev_CMakeLists.txt
@@ -162,7 +162,7 @@ qt_extend_target(qmake CONDITION UNIX
qlocale_unix.cpp-NOTFOUND
)
-qt_extend_target(qmake CONDITION APPLE_MACOS
+qt_extend_target(qmake CONDITION MACOS
SOURCES
qcore_foundation.mm
qcore_mac.cpp
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt
index 205fcebe27..4c8160eda5 100644
--- a/qmake/CMakeLists.txt
+++ b/qmake/CMakeLists.txt
@@ -165,7 +165,7 @@ qt_extend_target(qmake CONDITION UNIX
../src/corelib/text/qlocale_unix.cpp
)
-qt_extend_target(qmake CONDITION APPLE_MACOS
+qt_extend_target(qmake CONDITION MACOS
SOURCES
../src/corelib/kernel/qcore_foundation.mm # special case
../src/corelib/kernel/qcore_mac.cpp # special case