Skip to content

meson.build: Fix warning for configure_file

Harish Krupo requested to merge harishkrupo/weston:meson_0.50_fix into master

We claim to support meson versions >= 0.47 but the install: argument in configure_file was introduced in version 0.50. This produces the following meson warning:

WARNING: Project specifies a minimum meson_version '>= 0.47' but uses features which were added in newer versions:

  • 0.50.0: {'install arg in configure_file'}

From the documentation for the install argument [1]: " When omitted it (install) defaults to true when install_dir is set and not empty, false otherwise."

So, remove the install: argument and just depend on install_dir for installing.

Fixes: #225 (closed)

[1] https://mesonbuild.com/Reference-manual.html#configure_file

Signed-off-by: Harish Krupo harish.krupo.kps@intel.com

Merge request reports