This ensure that it's properly guarded, but also makes the code clearer
by grouping related things together.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
extra_cflags : gl_pkgconfig_c_flags,
)
+if with_platform_wayland
+ subdir('wayland/wayland-egl')
+endif
+
if with_tests
if with_glvnd
# TODO: add glvnd symbol check
subdir('mesa')
subdir('loader')
subdir('glx')
-if with_platform_wayland
- subdir('egl/wayland/wayland-egl')
-endif
if with_gbm
subdir('gbm')
endif