summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/CMakeLists.txt2
-rw-r--r--examples/widgets/mac/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt
index 1b18fc8622..a710f75207 100644
--- a/examples/widgets/CMakeLists.txt
+++ b/examples/widgets/CMakeLists.txt
@@ -28,6 +28,6 @@ if(QT_FEATURE_cursor) # special case
add_subdirectory(mainwindows)
endif()
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(mac)
endif()
diff --git a/examples/widgets/mac/CMakeLists.txt b/examples/widgets/mac/CMakeLists.txt
index 82038acfae..39003dc4c8 100644
--- a/examples/widgets/mac/CMakeLists.txt
+++ b/examples/widgets/mac/CMakeLists.txt
@@ -1,7 +1,7 @@
# Generated from mac.pro.
-if(APPLE_OSX)
+if(MACOS)
add_subdirectory(qmaccocoaviewcontainer)
add_subdirectory(qmacnativewidget)
endif()