aboutsummaryrefslogtreecommitdiffstats
path: root/host/Modules/UHDVersion.cmake
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-22 19:21:59 -0700
committerJosh Blum <josh@joshknows.com>2011-03-22 19:21:59 -0700
commit585b0455e8176d8e1abc2722f2a0e56eb89e1c58 (patch)
tree8b5a5c1a3bd69f708d3a12a85684f658de5d3f35 /host/Modules/UHDVersion.cmake
parentc7bd55e2e117173b643113282507ec3d4b227377 (diff)
downloaduhd-585b0455e8176d8e1abc2722f2a0e56eb89e1c58.tar.gz
uhd-585b0455e8176d8e1abc2722f2a0e56eb89e1c58.tar.bz2
uhd-585b0455e8176d8e1abc2722f2a0e56eb89e1c58.zip
uhd: try to be smart when setting up cpack when UHD_PACKAGE_MODE=AUTO
Diffstat (limited to 'host/Modules/UHDVersion.cmake')
-rw-r--r--host/Modules/UHDVersion.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/Modules/UHDVersion.cmake b/host/Modules/UHDVersion.cmake
index 0061dffbc..9b20bb98a 100644
--- a/host/Modules/UHDVersion.cmake
+++ b/host/Modules/UHDVersion.cmake
@@ -24,7 +24,6 @@ INCLUDE(UHDPython) #requires python for parsing
SET(UHD_VERSION_MAJOR 003) #API compatibility number
SET(UHD_VERSION_MINOR 0) #Timestamp of git commit
SET(UHD_VERSION_PATCH 0) #Short hash of git commit
-SET(UHD_VERSION "${UHD_VERSION_MAJOR}.${UHD_VERSION_MINOR}.${UHD_VERSION_PATCH}")
########################################################################
# Find GIT to get repo information
@@ -61,3 +60,6 @@ IF(GIT_FOUND)
)
SET(UHD_VERSION_PATCH ${_git_rev})
ENDIF(GIT_FOUND)
+
+########################################################################
+SET(UHD_VERSION "${UHD_VERSION_MAJOR}.${UHD_VERSION_MINOR}.${UHD_VERSION_PATCH}")