summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-08-12 16:03:33 +0200
committerLiang Qi <liang.qi@qt.io>2019-08-12 17:56:19 +0200
commit25a46893782979c74f57ab725b1ce55fbfc4fa2f (patch)
tree7e8773ca2ef85f28070574892ada681c5d2da030 /examples
parent5ca9f28f4b272d3265b97c16029071a0070195a6 (diff)
Fix the build when libs didn't get built
Change-Id: I641a1a80edd0861049d079422eef28b095fc26b3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/wayland.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
index b9e4263e7..5551b5703 100644
--- a/examples/wayland/wayland.pro
+++ b/examples/wayland/wayland.pro
@@ -1,7 +1,11 @@
-requires(qtHaveModule(waylandcompositor))
-requires(qtConfig(opengl))
TEMPLATE=subdirs
+!qtHaveModule(waylandcompositor): \
+ return()
+
+!qtConfig(opengl): \
+ return()
+
SUBDIRS += \
qwindow-compositor \
minimal-cpp