]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3962] Meson: Fix "-D netconf=auto"
authorAndrei Pavel <andrei@isc.org>
Thu, 19 Jun 2025 21:25:23 +0000 (00:25 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 20 Jun 2025 10:46:12 +0000 (13:46 +0300)
meson.build

index 187d1a9b88bbf81c1a40db23cfa65517ef5dd3c3..1d836e90d562ec1674f37e346a8759e84114edfd 100644 (file)
@@ -265,7 +265,7 @@ YANG_DEP = disabler()
 YANGCPP_DEP = disabler()
 SYSREPO_DEP = disabler()
 SYSREPOCPP_DEP = disabler()
-if netconf_opt.enabled()
+if netconf_opt.allowed()
     netconf_deps = {}
 
     all_deps_found = true
@@ -292,7 +292,7 @@ if netconf_opt.enabled()
         NETCONF_DEP = declare_dependency(
             dependencies: [YANG_DEP, YANGCPP_DEP, SYSREPO_DEP, SYSREPOCPP_DEP],
         )
-    else
+    elif netconf_opt.enabled()
         error('Dependency not found: NETCONF.')
     endif
 endif