From 1c03c12b1dfe56be5f303aef022da0fed8dee609 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 11 Dec 2018 09:55:59 -0500 Subject: jsoncpp: Require version 1.4.1 when using system-provided library We need the `failIfExtra` diagnostic added by that version. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 756e379..2213850 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -544,7 +544,7 @@ macro (CMAKE_BUILD_UTILITIES) #--------------------------------------------------------------------- # Build jsoncpp library. if(CMAKE_USE_SYSTEM_JSONCPP) - find_package(JsonCpp) + find_package(JsonCpp 1.4.1) if(NOT JsonCpp_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_JSONCPP is ON but a JsonCpp is not found!") -- cgit v0.12