]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3729] Use version_compare on meson version
authorAndrei Pavel <andrei@isc.org>
Tue, 11 Feb 2025 11:24:50 +0000 (13:24 +0200)
committerAndrei Pavel <andrei@isc.org>
Thu, 13 Feb 2025 08:06:32 +0000 (10:06 +0200)
Gets rid of the warning.

meson.build

index 0d6b92fb3db23e81b834a46c002ebf6e5ea04f83..4e7f10f72a726a3fd17a75ce91c05027993053c9 100644 (file)
@@ -433,7 +433,7 @@ if have_premium
 else
     report_conf_data.set('PREMIUM', 'no')
 endif
-if meson.version() >= '1.1.0'
+if meson.version().version_compare('>=1.1.0')
     report_conf_data.set('BUILD_OPTIONS', meson.build_options())
 else
     report_conf_data.set('BUILD_OPTIONS', 'unknown')