summaryrefslogtreecommitdiff
path: root/src/loader/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/meson.build')
-rw-r--r--src/loader/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/loader/meson.build b/src/loader/meson.build
index 57a93c3aa17..37cd44c3cdf 100644
--- a/src/loader/meson.build
+++ b/src/loader/meson.build
@@ -45,6 +45,10 @@ if with_gallium_iris and get_option('prefer-iris')
loader_c_args += ['-DPREFER_IRIS']
endif
+if with_gallium_crocus and get_option('prefer-crocus')
+ loader_c_args += ['-DPREFER_CROCUS']
+endif
+
libloader = static_library(
'loader',
['loader_dri_helper.c', 'loader.c', 'pci_id_driver_map.c'],