modify the version requirements of libjsoncpp
This commit is contained in:
parent
3391584d9f
commit
1cfe874904
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue