aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake/Modules')
-rw-r--r--host/cmake/Modules/UHDVersion.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/host/cmake/Modules/UHDVersion.cmake b/host/cmake/Modules/UHDVersion.cmake
index 60430ec90..3a39a40cf 100644
--- a/host/cmake/Modules/UHDVersion.cmake
+++ b/host/cmake/Modules/UHDVersion.cmake
@@ -15,13 +15,15 @@ find_package(Git QUIET)
# - Increment API on API changes
# - Increment ABI on ABI changes
# - Increment patch for bugfixes and docs
+# (but use 'git' for master to represent 'ahead of the latest stable
+# release)
# - set UHD_VERSION_DEVEL to true for master and development branches
########################################################################
set(UHD_VERSION_MAJOR 4)
-set(UHD_VERSION_API 1)
+set(UHD_VERSION_API 2)
set(UHD_VERSION_ABI 0)
-set(UHD_VERSION_PATCH 0)
-set(UHD_VERSION_DEVEL FALSE)
+set(UHD_VERSION_PATCH git)
+set(UHD_VERSION_DEVEL TRUE)
########################################################################
# If we're on a development branch, we skip the patch version