jsoncpp: build with C++17 to enable string_view API
authorAlexandru Ardelean <redacted>
Sun, 10 May 2026 09:05:38 +0000 (12:05 +0300)
committerAlexandru Ardelean <redacted>
Mon, 11 May 2026 17:43:58 +0000 (20:43 +0300)
commit8cc210eebff64e950cf822a738f1ecabae9d806a
tree5819ad85075a3b7e17bebcc0a1d7f3b6afcf571b
parent636c12c1247f183ddfbb71623d2daa95b5062b56
jsoncpp: build with C++17 to enable string_view API

jsoncpp 1.9.7 added std::string_view overloads for Value::get() and
Value::operator[], but these are only compiled when C++17 is active.
Building with the default C++11 standard leaves those symbols out of
the library, causing link failures for consumers that include the
headers with C++17 enabled (e.g. upmpdcli 1.9.17, domoticz 2025.2).

Add -Dcpp_std=c++17 to the meson args so the string_view API is
available in the installed library.

Signed-off-by: Alexandru Ardelean <redacted>
libs/jsoncpp/Makefile
git clone https://git.99rst.org/PROJECT