2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#3729] Be more lenient with the meson version

This commit is contained in:
Andrei Pavel
2025-02-10 11:58:27 +02:00
parent 9ea92b8d56
commit 2fd45c2ac7

View File

@@ -1,9 +1,9 @@
# Ask mesion >= 1.1.0 for build options.
# Require meson >= 0.63.0 for preserve_path arg in install_headers.
project(
'kea',
'cpp',
version: '2.7.7-git',
meson_version: '>=1.1.0',
meson_version: '>=0.63.0',
default_options: ['default_library=shared'],
)
@@ -413,7 +413,11 @@ if have_premium
else
report_conf_data.set('PREMIUM', 'no')
endif
report_conf_data.set('BUILD_OPTIONS', meson.build_options())
if meson.version() >= '1.1.0'
report_conf_data.set('BUILD_OPTIONS', meson.build_options())
else
report_conf_data.set('BUILD_OPTIONS', 'unknown')
endif
report_conf_data.set('MESON_VERSION', meson.version())
report_conf_data.set('CXX', ' '.join(cpp.cmd_array()))
report_conf_data.set('CXX_ID', cpp.get_id())