diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-12 15:32:43 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-12 15:32:43 +0200 |
commit | e00c2ec5e35ae631d01e96eb33f61c12dead3076 (patch) | |
tree | ac020bf7b9d3a3e38765fd83a45ca01eec54a6c0 | |
parent | 7ba30a4c2ec5b81f20373f5919510189e15f6f8c (diff) | |
download | node-e00c2ec5e35ae631d01e96eb33f61c12dead3076.tar.gz |
build: remove 1024 char read limit from cmake file
-rw-r--r-- | cmake/package.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/package.cmake b/cmake/package.cmake index 2f2905a6b..755b9df9f 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -28,7 +28,7 @@ set(CPACK_PACKAGE_DESCRIPTION "Evented I/O for V8 JavaScript. presents the event loop as a language construct instead of as a library.") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION}") set(CPACK_DEBIAN_PACKAGE_SECTION "web") -file(READ ${PROJECT_SOURCE_DIR}/src/node_version.h node_version_h LIMIT 1024 OFFSET 0) +file(READ ${PROJECT_SOURCE_DIR}/src/node_version.h node_version_h OFFSET 0) string(REGEX REPLACE ".*NODE_MAJOR_VERSION[ ]*([0-9]+).*" "\\1" CPACK_PACKAGE_VERSION_MAJOR "${node_version_h}") string(REGEX REPLACE ".*NODE_MINOR_VERSION[ ]*([0-9]+).*" "\\1" CPACK_PACKAGE_VERSION_MINOR "${node_version_h}") string(REGEX REPLACE ".*NODE_PATCH_VERSION[ ]*([0-9]+).*" "\\1" CPACK_PACKAGE_VERSION_PATCH "${node_version_h}") |