mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 10:02:44 +00:00
jsoncpp: Require version 1.4.1 when using system-provided library
We need the `failIfExtra` diagnostic added by that version.
This commit is contained in:
parent
4a8898cd6d
commit
1c03c12b1d
@ -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!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user