summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJohnathan Corgan2012-02-06 14:54:37 -0800
committerJohnathan Corgan2012-02-06 14:54:37 -0800
commitbfa8985c8e93d35b246a007b70612ca287242e3e (patch)
treea57663346471fdf273421b6ec9f8f3021b79892e /cmake/Modules
parent962d4615f4fbae3bc4a9ec09ed2f644dde8435eb (diff)
downloadgnuradio-bfa8985c8e93d35b246a007b70612ca287242e3e.tar.gz
gnuradio-bfa8985c8e93d35b246a007b70612ca287242e3e.tar.bz2
gnuradio-bfa8985c8e93d35b246a007b70612ca287242e3e.zip
Revert "dpkg rejects "vX.X.X" version number because it doesn't start with a number, CMake assigns "X.X.X" version number to generated executables"
This reverts commit c2a9dedc9ff7027c55ace3bf356bc452067e1b86.
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/GrPackage.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrPackage.cmake b/cmake/Modules/GrPackage.cmake
index 65fbcc353..a36ad9162 100644
--- a/cmake/Modules/GrPackage.cmake
+++ b/cmake/Modules/GrPackage.cmake
@@ -103,7 +103,7 @@ endfunction(CPACK_COMPONENT)
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "GNU Radio - The GNU Software Radio")
set(CPACK_PACKAGE_VENDOR "Free Software Foundation, Inc.")
set(CPACK_PACKAGE_CONTACT "Discuss GNURadio <discuss-gnuradio@gnu.org>")
-string(SUBSTRING "${VERSION}" 1 -1 CPACK_PACKAGE_VERSION)
+set(CPACK_PACKAGE_VERSION ${VERSION})
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/README)
set(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README)
set(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_SOURCE_DIR}/README)