diff options
author | Brad King <brad.king@kitware.com> | 2018-12-11 09:55:59 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-11 12:50:21 -0500 |
commit | 1c03c12b1dfe56be5f303aef022da0fed8dee609 (patch) | |
tree | 7a6729cb096a7752c8f0779d7003c26d6d9f6bcf /CMakeLists.txt | |
parent | 4a8898cd6d4ab86d04f64a699a2dc95d35846744 (diff) | |
download | cmake-1c03c12b1dfe56be5f303aef022da0fed8dee609.tar.gz |
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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 756e3790ed..22138505ff 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!") |