[Spice-devel] [PATCH spice-server] meson: Fix compatibility with Meson 0.48

Frediano Ziglio fziglio at redhat.com
Thu Aug 29 16:10:49 UTC 2019


The "install" argument for configure_file is available since 0.50.
However this is already "false" if "install_dir" is not provided.

This will drop the following warning:
"Project targetting '>= 0.48' but tried to use feature introduced
in '0.50.0': install arg in configure_file"

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index e58c436c0..35ebf3833 100644
--- a/meson.build
+++ b/meson.build
@@ -211,7 +211,6 @@ if host_machine.system() == 'windows'
 endif
 
 configure_file(output : 'config.h',
-               install : false,
                configuration : spice_server_config_data)
 
 #
-- 
2.20.1



More information about the Spice-devel mailing list