summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/meson.build')
-rw-r--r--src/gallium/drivers/radeonsi/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/meson.build b/src/gallium/drivers/radeonsi/meson.build
index c4915d06086..58132bf0720 100644
--- a/src/gallium/drivers/radeonsi/meson.build
+++ b/src/gallium/drivers/radeonsi/meson.build
@@ -79,3 +79,12 @@ libradeonsi = static_library(
cpp_args : [cpp_vis_args],
dependencies : dep_llvm,
)
+
+driver_radeonsi = declare_dependency(
+ compile_args : '-DGALLIUM_RADEONSI',
+ sources : si_driinfo_h,
+ link_with : [
+ libradeonsi, libradeon, libradeonwinsys, libamdgpuwinsys, libamd_common,
+ libnir,
+ ],
+)