OSDN Git Service

meson: move wayland-egl into egl folder
authorDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 21:30:53 +0000 (14:30 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 10 Nov 2017 21:00:01 +0000 (13:00 -0800)
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>
src/egl/meson.build
src/meson.build

index 36b1d9e..f327152 100644 (file)
@@ -182,6 +182,10 @@ pkg.generate(
   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
index cc8f595..186cf92 100644 (file)
@@ -59,9 +59,6 @@ subdir('intel')
 subdir('mesa')
 subdir('loader')
 subdir('glx')
-if with_platform_wayland
-  subdir('egl/wayland/wayland-egl')
-endif
 if with_gbm
   subdir('gbm')
 endif