summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorTom Rondeau2012-02-06 16:55:08 -0500
committerTom Rondeau2012-02-06 16:55:08 -0500
commit962d4615f4fbae3bc4a9ec09ed2f644dde8435eb (patch)
tree8d3fb89be2a00575046e1eec582a994e7e4ccfef /cmake/Modules
parentbea38e035f1c0b6847acb239900d7652a786b78b (diff)
parent345c8ae7a10af95d4f26cd53bfa8c07765d749ca (diff)
downloadgnuradio-962d4615f4fbae3bc4a9ec09ed2f644dde8435eb.tar.gz
gnuradio-962d4615f4fbae3bc4a9ec09ed2f644dde8435eb.tar.bz2
gnuradio-962d4615f4fbae3bc4a9ec09ed2f644dde8435eb.zip
Merge branch 'maint' of gnuradio.org:gnuradio into maint
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 a36ad9162..65fbcc353 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>")
-set(CPACK_PACKAGE_VERSION ${VERSION})
+string(SUBSTRING "${VERSION}" 1 -1 CPACK_PACKAGE_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)