summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-12-11 14:55:59 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-11 17:50:21 (GMT)
commit1c03c12b1dfe56be5f303aef022da0fed8dee609 (patch)
tree7a6729cb096a7752c8f0779d7003c26d6d9f6bcf /CMakeLists.txt
parent4a8898cd6d4ab86d04f64a699a2dc95d35846744 (diff)
downloadCMake-1c03c12b1dfe56be5f303aef022da0fed8dee609.zip
CMake-1c03c12b1dfe56be5f303aef022da0fed8dee609.tar.gz
CMake-1c03c12b1dfe56be5f303aef022da0fed8dee609.tar.bz2
jsoncpp: Require version 1.4.1 when using system-provided library
We need the `failIfExtra` diagnostic added by that version.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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!")