On 27/07/21 19:05, Antonio Caggiano wrote:
diff --git a/meson.build b/meson.build
index f2e148eaf9..31b65050b7 100644
--- a/meson.build
+++ b/meson.build
@@ -483,6 +483,7 @@ if not get_option('virglrenderer').auto() or have_system
                       method: 'pkg-config',
                       required: get_option('virglrenderer'),
                       kwargs: static_kwargs)
+  add_project_arguments('-DVIRGL_RENDERER_UNSTABLE_APIS', language : 'c')

Can you instead use declare_dependency to make the option part of the virgl dependency?

Thanks,

Paolo


Reply via email to