mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 09:20:04 +01:00
meson: remove version checks for old versions
We now only support meson >= 0.51, as it is defined in project(..., meson_version: '>= 0.51.0'). Remove checks for versions older than that.
This commit is contained in:
parent
873e66a03e
commit
ded7b78a7b
2 changed files with 2 additions and 9 deletions
|
|
@ -80,14 +80,8 @@ foreach iface: ifaces
|
||||||
endif
|
endif
|
||||||
|
|
||||||
content_files += dbus_iface_xml_path
|
content_files += dbus_iface_xml_path
|
||||||
|
introspection_files += [ [res[2], dbus_iface_xml_path] ]
|
||||||
# res is an array only since 0.46. Documentation won't work with
|
headers += res[1]
|
||||||
# older versions
|
|
||||||
if meson.version().version_compare('>= 0.46.0')
|
|
||||||
introspection_files += [ [res[2], dbus_iface_xml_path] ]
|
|
||||||
headers += res[1]
|
|
||||||
endif
|
|
||||||
|
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
|
|
|
||||||
|
|
@ -1002,7 +1002,6 @@ endif
|
||||||
|
|
||||||
if enable_docs
|
if enable_docs
|
||||||
assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
||||||
assert(meson.version().version_compare('>= 0.49.0'), '-Ddocs requires meson >= 0.49')
|
|
||||||
subdir('man')
|
subdir('man')
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
meson.add_dist_script(
|
meson.add_dist_script(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue