summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2012-02-06 13:44:16 -0800
committerJohnathan Corgan <jcorgan@corganenterprises.com>2012-02-06 13:44:16 -0800
commit345c8ae7a10af95d4f26cd53bfa8c07765d749ca (patch)
tree0ba53196eac4e73069c7af7263aaac4e1f96790e
parent6ba65930ba9a50b3c4618099b189fcfee5d015f0 (diff)
parentc2a9dedc9ff7027c55ace3bf356bc452067e1b86 (diff)
Merge remote branch 'ncorgan/package-version-fix' into maint
-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 a36ad91626..65fbcc3539 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)