summaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index 730b2ff6e41..4d5637f0aaf 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -64,7 +64,12 @@ if with_dri_i965 or with_intel_vk
endif
subdir('mesa')
subdir('loader')
-subdir('glx')
+if with_platform_haiku
+ subdir('hgl')
+endif
+if with_glx != 'disabled'
+ subdir('glx')
+endif
if with_gbm
subdir('gbm')
else