aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump
diff options
context:
space:
mode:
authorTor Arne Vestbø <torarnv@gmail.com>2020-03-16 14:10:44 +0100
committerTor Arne Vestbø <torarnv@gmail.com>2020-03-17 10:42:00 +0100
commita5df29201fb795503635ddaae787ade5b96bff5e (patch)
tree340a4d8021ce04a58e7252a03c33b6732caee942 /tools/qmlplugindump
parentdb554e8e1c3242634d035ebb3dcbe3c441d80bdc (diff)
CMake: Update Apple platform defines after rename in qtbase
Change-Id: Ia0a075e3199eab735f9b289873beeb8730ebc47e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r--tools/qmlplugindump/.prev_CMakeLists.txt2
-rw-r--r--tools/qmlplugindump/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlplugindump/.prev_CMakeLists.txt b/tools/qmlplugindump/.prev_CMakeLists.txt
index c161a13077..4f5d0f015b 100644
--- a/tools/qmlplugindump/.prev_CMakeLists.txt
+++ b/tools/qmlplugindump/.prev_CMakeLists.txt
@@ -31,7 +31,7 @@ qt_extend_target(qmlplugindump CONDITION TARGET Qt::Widgets
Qt::Widgets
)
-qt_extend_target(qmlplugindump CONDITION APPLE_OSX
+qt_extend_target(qmlplugindump CONDITION MACOS
LINK_OPTIONS
"-Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote$$PWD/Info.plist"
)
diff --git a/tools/qmlplugindump/CMakeLists.txt b/tools/qmlplugindump/CMakeLists.txt
index c2a84fcccc..ebe392f689 100644
--- a/tools/qmlplugindump/CMakeLists.txt
+++ b/tools/qmlplugindump/CMakeLists.txt
@@ -32,7 +32,7 @@ qt_extend_target(qmlplugindump CONDITION TARGET Qt::Widgets
Qt::Widgets
)
-qt_extend_target(qmlplugindump CONDITION APPLE_OSX
+qt_extend_target(qmlplugindump CONDITION MACOS
LINK_OPTIONS
"-Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/Info.plist" # special case
)