aboutsummaryrefslogtreecommitdiffstats
path: root/host/Modules/UHDVersion.cmake
diff options
context:
space:
mode:
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}")