From d3c1b8a4919197e45bebf5f844d7a03fab24ed63 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 10 Aug 2022 15:57:11 -0400 Subject: jsoncpp: Require version 1.6.0 when using system-provided library We need the `ValueIterator::name()` method. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 267518b..9d77dfc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -648,7 +648,7 @@ macro (CMAKE_BUILD_UTILITIES) #--------------------------------------------------------------------- # Build jsoncpp library. if(CMAKE_USE_SYSTEM_JSONCPP) - find_package(JsonCpp 1.4.1) + find_package(JsonCpp 1.6.0) if(NOT JsonCpp_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_JSONCPP is ON but a JsonCpp is not found!") -- cgit v0.12