diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-16 13:37:10 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-16 17:57:52 +0100 |
commit | db745fdd2dbd57af54f7da637eef6c892824a6fb (patch) | |
tree | 4bc3bfbbdb8043eb316606d33a88f009f448598b /examples/widgets | |
parent | 1b7008a3d784f3f266368f824cb43d473a301ba1 (diff) |
cmake: Fix naming when referring to Apple macOS
Change-Id: Iafb5e448d0d65d42f788464fc600594a5666f9af
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets')
-rw-r--r-- | examples/widgets/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/widgets/mac/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt index 1b18fc8622..811c4f9fb6 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(APPLE_MACOS) add_subdirectory(mac) endif() diff --git a/examples/widgets/mac/CMakeLists.txt b/examples/widgets/mac/CMakeLists.txt index 82038acfae..942ea69475 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(APPLE_MACOS) add_subdirectory(qmaccocoaviewcontainer) add_subdirectory(qmacnativewidget) endif() |