summaryrefslogtreecommitdiffstats
path: root/host/Modules/UHDVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/Modules/UHDVersion.cmake')
-rw-r--r--host/Modules/UHDVersion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Modules/UHDVersion.cmake b/host/Modules/UHDVersion.cmake
index 440ce6698..dbc39b5a9 100644
--- a/host/Modules/UHDVersion.cmake
+++ b/host/Modules/UHDVersion.cmake
@@ -32,7 +32,7 @@ SET(UHD_VERSION_PATCH 000)
########################################################################
# Version information discovery through git log
########################################################################
-IF(UHD_PACKAGE_MODE STREQUAL AUTO)
+IF(UHD_RELEASE_MODE)
SET(UHD_VERSION_DISCOVERY FALSE)
ELSE()
SET(UHD_VERSION_DISCOVERY GIT_FOUND)