Module: Mesa
Branch: master
Commit: 689fb7471671991b3971eeb4f0fa8aa3721c4822
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=689fb7471671991b3971eeb4f0fa8aa3721c4822

Author: Dylan Baker <[email protected]>
Date:   Tue Nov 14 17:03:39 2017 -0800

meson: don't build gallium subdir unless we're building gallium

This will allow us to simplify some guards within the gallium directory.

Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 src/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index 9232cc4ab1..00bbaa8989 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -69,7 +69,9 @@ endif
 if with_egl
   subdir('egl')
 endif
-subdir('gallium')
+if with_gallium
+  subdir('gallium')
+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.

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to