cmake 2.4 has no LIMIT syntax in file command
cmake 2.4 http://www.cmake.org/HTML/CMake-2.4.html FILE(READ filename variable) cmake 2.6 http://www.cmake.org/HTML/cmake-2.6.html file(READ filename variable [LIMIT numBytes] [OFFSET offset] [HEX])
This commit is contained in:
parent
c19fde1f01
commit
2b917037ed
|
@ -81,7 +81,7 @@ if(EXISTS ${SOURCE_DIR}/.git/HEAD AND GIT_EXECUTABLE)
|
|||
set(BUILD_FROM_GIT TRUE)
|
||||
else()
|
||||
# get version from version stamp
|
||||
file(READ ${SOURCE_DIR}/.version_stamp VERSION LIMIT 128)
|
||||
file(READ ${SOURCE_DIR}/.version_stamp VERSION)
|
||||
endif()
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue