diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e9ae6d6..ac29d484 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ stop() endif() EXEC_PROGRAM(cat ARGS "${JSONCPP_INCLUDE_DIRS}/json/version.h |grep JSONCPP_VERSION_STRING|sed s'/.*define/define/'|awk '{printf $3}'|sed s'/\"//g'" OUTPUT_VARIABLE jsoncpp_ver) message(STATUS "jsoncpp verson:" ${jsoncpp_ver}) -if(jsoncpp_ver LESS 1.8) +if(jsoncpp_ver LESS 1.7) MESSAGE(STATUS "jsoncpp lib is too old,please get new version from https://github.com/open-source-parsers/jsoncpp") stop() endif()