mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue