aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/cmake/Modules/UHDConfigVersion.cmake.in5
-rw-r--r--host/examples/init_usrp/CMakeLists.txt2
-rw-r--r--host/include/uhd/version.hpp.in2
3 files changed, 5 insertions, 4 deletions
diff --git a/host/cmake/Modules/UHDConfigVersion.cmake.in b/host/cmake/Modules/UHDConfigVersion.cmake.in
index 67e0e408d..549798324 100644
--- a/host/cmake/Modules/UHDConfigVersion.cmake.in
+++ b/host/cmake/Modules/UHDConfigVersion.cmake.in
@@ -30,7 +30,8 @@ set(ENV{UHD_CONFIG_VERSION_USED} TRUE)
# statically in here to avoid using Python all over again.
SET(MAJOR_VERSION @TRIMMED_VERSION_MAJOR@)
-SET(MINOR_VERSION @TRIMMED_VERSION_MINOR@)
+SET(API_VERSION @TRIMMED_VERSION_API@)
+SET(ABI_VERSION @TRIMMED_VERSION_ABI@)
SET(PATCH_VERSION @TRIMMED_VERSION_PATCH@)
SET(DEVEL_VERSION @UHD_VERSION_DEVEL@)
@@ -53,7 +54,7 @@ ENDIF(NOT PACKAGE_FIND_VERSION)
# to add a fake patch version that should be higher than anything the user
# requests.
IF(DEVEL_VERSION)
- SET(PACKAGE_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.999")
+ SET(PACKAGE_VERSION "${MAJOR_VERSION}.${API_VERSION}.${ABI_VERSION}.999")
ENDIF(DEVEL_VERSION)
# assume incorrect versioning by default
diff --git a/host/examples/init_usrp/CMakeLists.txt b/host/examples/init_usrp/CMakeLists.txt
index 8705b4a8d..4ce51125f 100644
--- a/host/examples/init_usrp/CMakeLists.txt
+++ b/host/examples/init_usrp/CMakeLists.txt
@@ -59,7 +59,7 @@ SET(CMAKE_BUILD_TYPE "Release")
MESSAGE(STATUS "******************************************************************************")
MESSAGE(STATUS "* NOTE: When building your own app, you probably need all kinds of different ")
MESSAGE(STATUS "* compiler flags. This is just an example, so it's unlikely these settings ")
-MESSAGE(STATUS "* exactly matchh what you require. Make sure to double-check compiler and ")
+MESSAGE(STATUS "* exactly match what you require. Make sure to double-check compiler and ")
MESSAGE(STATUS "* linker flags to make sure your specific requirements are included. ")
MESSAGE(STATUS "******************************************************************************")
diff --git a/host/include/uhd/version.hpp.in b/host/include/uhd/version.hpp.in
index bfa0b904a..85c0aac9f 100644
--- a/host/include/uhd/version.hpp.in
+++ b/host/include/uhd/version.hpp.in
@@ -31,7 +31,7 @@
/*!
* A macro to check UHD version at compile-time.
- * The value of this macro is MAJOR * 10000 + MINOR * 100 + PATCH
+ * The value of this macro is MAJOR * 1000000 + API * 10000 + ABI * 100 + PATCH
* (e.g., for UHD 3.8.1 this is 30801).
*/
#cmakedefine UHD_VERSION @UHD_VERSION_ADDED@