summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-03-16 13:37:10 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-03-16 17:57:52 +0100
commitdb745fdd2dbd57af54f7da637eef6c892824a6fb (patch)
tree4bc3bfbbdb8043eb316606d33a88f009f448598b /tests/auto/other
parent1b7008a3d784f3f266368f824cb43d473a301ba1 (diff)
cmake: Fix naming when referring to Apple macOS
Change-Id: Iafb5e448d0d65d42f788464fc600594a5666f9af Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/CMakeLists.txt4
-rw-r--r--tests/auto/other/macgui/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/other/macgui/CMakeLists.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/other/CMakeLists.txt b/tests/auto/other/CMakeLists.txt
index e1d3c0e839..2ce438985f 100644
--- a/tests/auto/other/CMakeLists.txt
+++ b/tests/auto/other/CMakeLists.txt
@@ -15,7 +15,7 @@ if(TARGET Qt::Network AND TARGET Qt::Widgets AND NOT WINRT)
add_subdirectory(lancelot)
add_subdirectory(qnetworkaccessmanager_and_qprogressdialog)
endif()
-if(APPLE_OSX AND TARGET Qt::Gui AND TARGET Qt::Widgets)
+if(APPLE_MACOS AND TARGET Qt::Gui AND TARGET Qt::Widgets)
add_subdirectory(macgui)
add_subdirectory(macplist)
add_subdirectory(qaccessibilitymac)
@@ -35,7 +35,7 @@ endif()
if(TARGET Qt::Network AND NOT WINRT)
add_subdirectory(networkselftest)
endif()
-if(APPLE_OSX AND TARGET Qt::Gui)
+if(APPLE_MACOS AND TARGET Qt::Gui)
add_subdirectory(macnativeevents)
endif()
if(embedded)
diff --git a/tests/auto/other/macgui/.prev_CMakeLists.txt b/tests/auto/other/macgui/.prev_CMakeLists.txt
index 4923568a89..f0374b644e 100644
--- a/tests/auto/other/macgui/.prev_CMakeLists.txt
+++ b/tests/auto/other/macgui/.prev_CMakeLists.txt
@@ -26,7 +26,7 @@ add_qt_test(tst_macgui
## Scopes:
#####################################################################
-extend_target(tst_macgui CONDITION APPLE_OSX
+extend_target(tst_macgui CONDITION APPLE_MACOS
PUBLIC_LIBRARIES
${FWApplicationServices}
)
diff --git a/tests/auto/other/macgui/CMakeLists.txt b/tests/auto/other/macgui/CMakeLists.txt
index de69c43765..a85b845536 100644
--- a/tests/auto/other/macgui/CMakeLists.txt
+++ b/tests/auto/other/macgui/CMakeLists.txt
@@ -26,7 +26,7 @@ add_qt_test(tst_macgui
## Scopes:
#####################################################################
-extend_target(tst_macgui CONDITION APPLE_OSX
+extend_target(tst_macgui CONDITION APPLE_MACOS
PUBLIC_LIBRARIES
${FWApplicationServices}
)