mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-14 09:57:56 +08:00
CMake 2.8.5 or higher is required
make with error for the lower version: Linking CXX executable ../../bin/jsoncpp_test /bin/sh: $<TARGET_FILE:jsoncpp_test>: command not found make[2]: *** [bin/jsoncpp_test] Error 127 make[1]: *** [src/test_lib_json/CMakeFiles/jsoncpp_test.dir/all] Error 2 make: *** [all] Error 2 due to http://stackoverflow.com/questions/5410164/how-do-i-use-a-targets-path-in-add-custom-command-in-cmake#comment6139682_5410794
This commit is contained in:
parent
8aec8d88f2
commit
ae5a56f9ff
@ -1,4 +1,4 @@
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
|
||||
PROJECT(jsoncpp)
|
||||
ENABLE_TESTING()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user