From: Andrei Pavel Date: Thu, 19 Jun 2025 21:25:23 +0000 (+0300) Subject: [#3962] Meson: Fix "-D netconf=auto" X-Git-Tag: Kea-3.0.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c1db1b73e6c4dd40ba698e4b5cbbe0bf5cc83b;p=thirdparty%2Fkea.git [#3962] Meson: Fix "-D netconf=auto" --- diff --git a/meson.build b/meson.build index 187d1a9b88..1d836e90d5 100644 --- a/meson.build +++ b/meson.build @@ -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