summaryrefslogtreecommitdiffstats
path: root/examples/gui/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-01-27 13:25:34 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-01-30 20:45:08 +0000
commit43d2b60a29df5397be4b4bead90f40346bf85dce (patch)
tree7ac735998206e9ed76eca98d335490ad5d98bd1f /examples/gui/CMakeLists.txt
parenta1dbdcbd6e818118f5fc28cdd39e47a02380adbd (diff)
Post-merge fixes
Change-Id: I6acd29103f6cc550544e7422328d97ea0e2dcafb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/gui/CMakeLists.txt')
-rw-r--r--examples/gui/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/gui/CMakeLists.txt b/examples/gui/CMakeLists.txt
index 7ae4c6bc6a..7631777ef4 100644
--- a/examples/gui/CMakeLists.txt
+++ b/examples/gui/CMakeLists.txt
@@ -1,8 +1,7 @@
# Generated from gui.pro.
+if(NOT TARGET Qt::Gui)
+ return()
+endif()
add_subdirectory(analogclock)
add_subdirectory(rasterwindow)
-
-if(TARGET Qt::Gui AND QT_FEATURE_opengl)
- add_subdirectory(openglwindow)
-endif()