Disable gl examples when we don't have OpenGL
authorXavier Claessens <xavier.claessens@collabora.com>
Wed, 21 Nov 2018 21:12:20 +0000 (16:12 -0500)
committerXavier Claessens <xavier.claessens@collabora.com>
Thu, 22 Nov 2018 03:17:35 +0000 (22:17 -0500)
tests/examples/gl/generic/meson.build

index 9944e6c989dfa1dda5ad9e3d9bf5f0e4bc05429c..36086100345947bd4cb60cba6011afc764239df1 100644 (file)
@@ -1,5 +1,5 @@
 # TODO :get rid of pointless subdirs
-subdir('cube')
-subdir('cubeyuv')
-subdir('doublecube')
-subdir('recordgraphic')
+subdir('cube', if_found : gl_dep)
+subdir('cubeyuv', if_found : gl_dep)
+subdir('doublecube', if_found : gl_dep)
+subdir('recordgraphic', if_found : gl_dep)