From 43d2b60a29df5397be4b4bead90f40346bf85dce Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 27 Jan 2020 13:25:34 +0100 Subject: Post-merge fixes Change-Id: I6acd29103f6cc550544e7422328d97ea0e2dcafb Reviewed-by: Simon Hausmann --- examples/gui/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/gui/CMakeLists.txt') 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() -- cgit v1.2.3