[Spice-devel] [PATCH spice-protocol] meson: Add declare_dependency statement

Eduardo Lima (Etrunko) etrunko at redhat.com
Tue Sep 25 13:59:10 UTC 2018


This is required in the case another project uses this one as a subproject

Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index 31531e2..55cef0c 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,8 @@ project('spice-protocol', 'c',
 
 subdir('spice')
 
+spice_protocol_dep = declare_dependency(include_directories : include_directories('.'))
+
 #
 # spice-protocol.pc generation
 #
-- 
2.17.1



More information about the Spice-devel mailing list