]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3732] Do not interrupt "meson setup build" without any arguments because of NETCONF...
authorAndrei Pavel <andrei@isc.org>
Tue, 1 Apr 2025 09:46:52 +0000 (12:46 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 4 Apr 2025 09:37:21 +0000 (12:37 +0300)
meson.build

index 0f6f10f98e8e230f0cf7266325b46ba9a991b0ba..9f00ccb55cce37084df13308063a5a42d4e5cfa0 100644 (file)
@@ -343,7 +343,12 @@ if NETCONF_DEP.found() and cpp_standard.version_compare('<202000')
     else
         msgs += cpp_std_opt_msg
     endif
-    error('\n'.join(msgs))
+    if netconf_opt.enabled()
+        error('\n'.join(msgs))
+    else
+        warning('\n'.join(msgs))
+        NETCONF_DEP = disabler()
+    endif
 endif
 
 result = cpp.run(