Retain Meson >= 0.61 version requirement

The add_project_dependencies() method was only added in Meson 0.63.
Replace its only use in meson.build with a corresponding call to the
add_project_link_arguments() method to avoid bumping the minimum
required Meson version beyond the one available in stock Ubuntu 22.04
LTS repositories.
This commit is contained in:
Michał Kępień 2025-06-23 10:23:17 +02:00
parent b06d3f6c77
commit 9f2dcd2853
No known key found for this signature in database

View file

@ -395,7 +395,7 @@ if not cc.links(atomic_test, name: 'usage of atomics without -latomic')
)
endif
add_project_dependencies(atomic_dep, language: 'c')
add_project_link_arguments('-latomic', language: 'c')
endif
## OS