Skip to content

Commit ae5a56f

Browse files
committed
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
1 parent 8aec8d8 commit ae5a56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
22
PROJECT(jsoncpp)
33
ENABLE_TESTING()
44

0 commit comments

Comments
 (0)