summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-22 10:37:33 -0700
committerJosh Blum <josh@joshknows.com>2011-03-22 10:37:33 -0700
commit55b4ca73b44735523e5ab3348735a64cbf19cf30 (patch)
treede24e6fefcaba55a7aae48ac40e96c5bc4d5df7d /images
parenta963caab9b6500ecef015fa5c514f2a7ae23046f (diff)
downloaduhd-55b4ca73b44735523e5ab3348735a64cbf19cf30.tar.gz
uhd-55b4ca73b44735523e5ab3348735a64cbf19cf30.tar.bz2
uhd-55b4ca73b44735523e5ab3348735a64cbf19cf30.zip
uhd: setup UHD_VERSION and CPACK_PACKAGE_FILE_NAME
Diffstat (limited to 'images')
-rw-r--r--images/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/CMakeLists.txt b/images/CMakeLists.txt
index baac333ea..f93b28ca4 100644
--- a/images/CMakeLists.txt
+++ b/images/CMakeLists.txt
@@ -32,7 +32,7 @@ SET(CPACK_PACKAGE_CONTACT "support@ettus.com")
SET(CPACK_PACKAGE_VERSION_MAJOR ${UHD_VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${UHD_VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${UHD_VERSION_PATCH})
-SET(CPACK_PACKAGE_FILE_NAME "UHD-images-${UHD_VERSION_MAJOR}-${UHD_VERSION_MINOR}-${UHD_VERSION_PATCH}")
+SET(CPACK_PACKAGE_FILE_NAME "UHD-images-${UHD_VERSION}")
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "all")
INCLUDE(CPack) #include after setting vars
MESSAGE(STATUS "Version: ${CPACK_PACKAGE_VERSION}")