diff options
author | Nicholas Corgan | 2012-02-06 13:12:42 -0800 |
---|---|---|
committer | Nicholas Corgan | 2012-02-06 13:12:42 -0800 |
commit | c2a9dedc9ff7027c55ace3bf356bc452067e1b86 (patch) | |
tree | dba05ccdfc46c83090e9ee53b894001bef4b05f8 /cmake/Modules/GrPackage.cmake | |
parent | e6805a25568a5ce24937039f57a6eb1df1f82aa9 (diff) | |
download | gnuradio-c2a9dedc9ff7027c55ace3bf356bc452067e1b86.tar.gz gnuradio-c2a9dedc9ff7027c55ace3bf356bc452067e1b86.tar.bz2 gnuradio-c2a9dedc9ff7027c55ace3bf356bc452067e1b86.zip |
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
Diffstat (limited to 'cmake/Modules/GrPackage.cmake')
-rw-r--r-- | cmake/Modules/GrPackage.cmake | 2 |
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) |