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

Victor Toso victortoso at redhat.com
Wed Sep 26 08:39:45 UTC 2018


Hi,

On Tue, Sep 25, 2018 at 10:59:10AM -0300, Eduardo Lima (Etrunko) wrote:
> This is required in the case another project uses this one as a
> subproject
> 
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>

Just for reference,

    http://mesonbuild.com/Reference-manual.html#declare_dependencyo

Acked-by: Victor Toso <victortoso 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180926/b16340a0/attachment.sig>


More information about the Spice-devel mailing list