From 019d59f7e89a49e97964ac9f18dabbc1a1b97c3a Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Tue, 1 Apr 2025 12:46:52 +0300 Subject: [PATCH] [#3732] Do not interrupt "meson setup build" without any arguments because of NETCONF not supporting a C++ standard that is too low --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0f6f10f98e..9f00ccb55c 100644 --- a/meson.build +++ b/meson.build @@ -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(