summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforminputcontexts/CMakeLists.txt2
-rw-r--r--src/plugins/platforms/.prev_CMakeLists.txt4
-rw-r--r--src/plugins/platforms/CMakeLists.txt4
-rw-r--r--src/plugins/platforms/ios/.prev_CMakeLists.txt2
-rw-r--r--src/plugins/platforms/ios/CMakeLists.txt2
-rw-r--r--src/plugins/platforms/ios/optional/CMakeLists.txt2
-rw-r--r--src/plugins/printsupport/.prev_CMakeLists.txt2
-rw-r--r--src/plugins/printsupport/CMakeLists.txt2
8 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/platforminputcontexts/CMakeLists.txt b/src/plugins/platforminputcontexts/CMakeLists.txt
index 155f5161f2..b5150df4f3 100644
--- a/src/plugins/platforminputcontexts/CMakeLists.txt
+++ b/src/plugins/platforminputcontexts/CMakeLists.txt
@@ -3,6 +3,6 @@
if(QT_FEATURE_xkbcommon)
add_subdirectory(compose)
endif()
-if(QT_FEATURE_xkbcommon AND TARGET Qt::DBus AND UNIX AND NOT APPLE_OSX)
+if(QT_FEATURE_xkbcommon AND TARGET Qt::DBus AND UNIX AND NOT MACOS)
add_subdirectory(ibus)
endif()
diff --git a/src/plugins/platforms/.prev_CMakeLists.txt b/src/plugins/platforms/.prev_CMakeLists.txt
index 5797b07233..c58fb31aea 100644
--- a/src/plugins/platforms/.prev_CMakeLists.txt
+++ b/src/plugins/platforms/.prev_CMakeLists.txt
@@ -12,10 +12,10 @@ endif()
if(QT_FEATURE_xcb)
add_subdirectory(xcb)
endif()
-if(APPLE_UIKIT AND NOT APPLE_WATCHOS)
+if(UIKIT AND NOT WATCHOS)
add_subdirectory(ios)
endif()
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(cocoa)
endif()
if(QT_FEATURE_direct3d9 AND WIN32 AND NOT WINRT)
diff --git a/src/plugins/platforms/CMakeLists.txt b/src/plugins/platforms/CMakeLists.txt
index 57c3952e4c..442596286a 100644
--- a/src/plugins/platforms/CMakeLists.txt
+++ b/src/plugins/platforms/CMakeLists.txt
@@ -12,10 +12,10 @@ endif()
if(QT_FEATURE_xcb)
add_subdirectory(xcb)
endif()
-if(APPLE_UIKIT AND NOT APPLE_WATCHOS)
+if(UIKIT AND NOT WATCHOS)
add_subdirectory(ios)
endif()
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(cocoa)
endif()
if(WIN32 AND NOT WINRT) # special case TODO fix direct3d9 test
diff --git a/src/plugins/platforms/ios/.prev_CMakeLists.txt b/src/plugins/platforms/ios/.prev_CMakeLists.txt
index d7ff160ee0..3a330e2b7b 100644
--- a/src/plugins/platforms/ios/.prev_CMakeLists.txt
+++ b/src/plugins/platforms/ios/.prev_CMakeLists.txt
@@ -49,7 +49,7 @@ extend_target(QIOSIntegrationPlugin CONDITION TARGET Qt::PlatformCompositorSuppo
Qt::PlatformCompositorSupportPrivate
)
-extend_target(QIOSIntegrationPlugin CONDITION NOT APPLE_TVOS
+extend_target(QIOSIntegrationPlugin CONDITION NOT TVOS
SOURCES
qiosclipboard.h qiosclipboard.mm
qiosfiledialog.h qiosfiledialog.mm
diff --git a/src/plugins/platforms/ios/CMakeLists.txt b/src/plugins/platforms/ios/CMakeLists.txt
index d7ff160ee0..3a330e2b7b 100644
--- a/src/plugins/platforms/ios/CMakeLists.txt
+++ b/src/plugins/platforms/ios/CMakeLists.txt
@@ -49,7 +49,7 @@ extend_target(QIOSIntegrationPlugin CONDITION TARGET Qt::PlatformCompositorSuppo
Qt::PlatformCompositorSupportPrivate
)
-extend_target(QIOSIntegrationPlugin CONDITION NOT APPLE_TVOS
+extend_target(QIOSIntegrationPlugin CONDITION NOT TVOS
SOURCES
qiosclipboard.h qiosclipboard.mm
qiosfiledialog.h qiosfiledialog.mm
diff --git a/src/plugins/platforms/ios/optional/CMakeLists.txt b/src/plugins/platforms/ios/optional/CMakeLists.txt
index 3c84e61f26..6f5d754d4a 100644
--- a/src/plugins/platforms/ios/optional/CMakeLists.txt
+++ b/src/plugins/platforms/ios/optional/CMakeLists.txt
@@ -1,5 +1,5 @@
# Generated from optional.pro.
-if(APPLE_IOS)
+if(IOS)
add_subdirectory(nsphotolibrarysupport)
endif()
diff --git a/src/plugins/printsupport/.prev_CMakeLists.txt b/src/plugins/printsupport/.prev_CMakeLists.txt
index 5853d82c6a..a1f39cb843 100644
--- a/src/plugins/printsupport/.prev_CMakeLists.txt
+++ b/src/plugins/printsupport/.prev_CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from printsupport.pro.
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(cocoa)
endif()
if(WIN32)
diff --git a/src/plugins/printsupport/CMakeLists.txt b/src/plugins/printsupport/CMakeLists.txt
index 22b753f5c0..1e7013bc1c 100644
--- a/src/plugins/printsupport/CMakeLists.txt
+++ b/src/plugins/printsupport/CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from printsupport.pro.
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(cocoa)
endif()
if(WIN32)