aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDConfigVersion.cmake.in
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-28 17:23:26 -0700
committerMartin Braun <martin.braun@ettus.com>2016-10-31 09:39:34 -0700
commitc66cb1bad0d881394f3519bd94f4693cceab4c64 (patch)
treefeaa7d26208091a73f12548703363b5cb004211c /host/cmake/Modules/UHDConfigVersion.cmake.in
parentf9ef7bda990591962a740aa3ab249aee30451ed9 (diff)
downloaduhd-c66cb1bad0d881394f3519bd94f4693cceab4c64.tar.gz
uhd-c66cb1bad0d881394f3519bd94f4693cceab4c64.tar.bz2
uhd-c66cb1bad0d881394f3519bd94f4693cceab4c64.zip
cmake: Change version numbering to remove leading zeros
Diffstat (limited to 'host/cmake/Modules/UHDConfigVersion.cmake.in')
-rw-r--r--host/cmake/Modules/UHDConfigVersion.cmake.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/cmake/Modules/UHDConfigVersion.cmake.in b/host/cmake/Modules/UHDConfigVersion.cmake.in
index 549798324..c792b5bf8 100644
--- a/host/cmake/Modules/UHDConfigVersion.cmake.in
+++ b/host/cmake/Modules/UHDConfigVersion.cmake.in
@@ -29,13 +29,13 @@ set(ENV{UHD_CONFIG_VERSION_USED} TRUE)
# version values as set in cmake/Modules/UHDVersion.cmake, placed
# statically in here to avoid using Python all over again.
-SET(MAJOR_VERSION @TRIMMED_VERSION_MAJOR@)
-SET(API_VERSION @TRIMMED_VERSION_API@)
-SET(ABI_VERSION @TRIMMED_VERSION_ABI@)
-SET(PATCH_VERSION @TRIMMED_VERSION_PATCH@)
+SET(MAJOR_VERSION @UHD_VERSION_MAJOR@)
+SET(API_VERSION @UHD_VERSION_API@)
+SET(ABI_VERSION @UHD_VERSION_ABI@)
+SET(PATCH_VERSION @UHD_VERSION_PATCH@)
SET(DEVEL_VERSION @UHD_VERSION_DEVEL@)
-SET(PACKAGE_VERSION @TRIMMED_UHD_VERSION@)
+SET(PACKAGE_VERSION @UHD_VERSION@)
SET(ENV{UHD_PACKAGE_VERSION} ${PACKAGE_VERSION})
# There is a bug in CMake whereby calling "find_package(FOO)" within
@@ -175,4 +175,4 @@ IF(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION})
ENDIF()
# Undo our patch-version-number hack
-SET(PACKAGE_VERSION @TRIMMED_UHD_VERSION@)
+SET(PACKAGE_VERSION @UHD_VERSION@)