aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/meson.build')
-rw-r--r--src/gallium/drivers/virgl/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/meson.build b/src/gallium/drivers/virgl/meson.build
index 8284f548927..16d185c5723 100644
--- a/src/gallium/drivers/virgl/meson.build
+++ b/src/gallium/drivers/virgl/meson.build
@@ -37,3 +37,8 @@ libvirgl = static_library(
include_directories : inc_common,
dependencies : dep_libdrm,
)
+
+driver_virgl = declare_dependency(
+ compile_args : '-DGALLIUM_VIRGL',
+ link_with : [libvirgl, libvirgldrm, libvirglvtest],
+)