From 2b917037ed1fcbb7de7aae5c7a3ea8ce7479a6ae Mon Sep 17 00:00:00 2001 From: MATSUU Takuto Date: Wed, 25 Jun 2008 01:49:37 +0900 Subject: [PATCH] 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]) --- awesomeConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index e85fc2b3..3440359a 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -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() # }}}