build: fix fs.copyfile usage for meson versions 0.64/0.64.1

Though this function was introduced in 0.64, its usage with install_dir
was broken till meson version 1.0.0. Hence, bump the minimal required
meson version for the fs.copyfile() routine.

See the following meson commit for details:
https://github.com/mesonbuild/meson/commit/100456de0761ee949e2277c97746cb8571b6ba39
This commit is contained in:
Yegor Yefremov
2024-01-30 12:23:39 +01:00
parent 9f4ee19601
commit a729a92e10
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ service_conf = {
}
# DBus Service file
if meson_version.version_compare('>=0.64')
if meson_version.version_compare('>=1.0.0')
fs.copyfile(
'org.freedesktop.ModemManager1.conf.@0@polkit'.format(enable_polkit ? '' : 'no'),
'@BASENAME@',
+1 -1
View File
@@ -14,7 +14,7 @@ project(
)
meson_version = meson.version()
if meson_version.version_compare('>=0.64')
if meson_version.version_compare('>=1.0.0')
fs = import('fs')
endif