meson: Include EGL after gallium
authorJesse Natalie <jenatali@microsoft.com>
Wed, 1 Sep 2021 16:31:04 +0000 (09:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Sep 2021 20:17:31 +0000 (20:17 +0000)
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed By: Bill Kristiansen <billkris@microsoft.com>

Acked-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12727>

src/meson.build

index 1b57765..d99522c 100644 (file)
@@ -117,9 +117,6 @@ if with_gbm
 else
   inc_gbm = []
 endif
-if with_egl
-  subdir('egl')
-endif
 if with_gallium
   subdir('gallium')
   # This has to be here since it requires libgallium, and subdir cannot
@@ -128,6 +125,9 @@ if with_gallium
     subdir('mesa/state_tracker/tests')
   endif
 endif
+if with_egl
+  subdir('egl')
+endif
 
 # This must be after at least mesa, glx, and gallium, since libgl will be
 # defined in one of those subdirs depending on the glx provider.