From: Andrea Bolognani Date: Thu, 27 May 2021 17:04:10 +0000 (+0200) Subject: meson: Don't use 'required: true' X-Git-Tag: v7.5.0-rc1~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3fb78f8b3d5893f4bc7ae9e31c727699cf6c16b;p=thirdparty%2Flibvirt.git meson: Don't use 'required: true' It's the default. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- diff --git a/meson.build b/meson.build index 40244e5ede..a29e53af77 100644 --- a/meson.build +++ b/meson.build @@ -804,7 +804,7 @@ if host_machine.system() == 'freebsd' endif foreach name : required_programs - prog = find_program(name, required: true, dirs: libvirt_sbin_path) + prog = find_program(name, dirs: libvirt_sbin_path) varname = name.underscorify() conf.set_quoted(varname.to_upper(), prog.path()) conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog.path()) @@ -812,7 +812,7 @@ foreach name : required_programs endforeach foreach item : required_programs_groups - prog = find_program(item.get('prog'), required: true, dirs: libvirt_sbin_path) + prog = find_program(item.get('prog'), dirs: libvirt_sbin_path) varname = item.get('name').underscorify() conf.set_quoted(varname.to_upper(), prog.path()) set_variable('@0@_prog'.format(varname), prog) @@ -1219,7 +1219,7 @@ if selinux_dep.found() conf.set('WITH_SELINUX', 1) endif -thread_dep = dependency('threads', required: true) +thread_dep = dependency('threads') pthread_sigmask_code = ''' #include #include