summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2013-09-30 23:10:52 +0100
committerRoger Leigh <rleigh@debian.org>2013-09-30 23:10:52 +0100
commit5178d86a23e7b219465eb48fb2523c322e928ebf (patch)
treea09dcc7564b0fa9b0b566373145268824c6208e9
parentd38e4397e7bd31111819f06abb4aa67aaa76fba5 (diff)
downloadschroot-5178d86a23e7b219465eb48fb2523c322e928ebf.tar.gz
cmake: Configure distribution branch name
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2a495d1a..28db1695 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,8 @@ set(GIT_VERSION_FILE_COMPAT "VERSION"
CACHE FILEPATH "Location of compatibility version metadata")
set(GIT_VERSION_FILE_USE_COMPAT ON
CACHE BOOL "Use compatibility version file")
+set(GIT_DIST_BRANCH distribution-${GIT_RELEASE_VERSION_MAJOR}.${GIT_RELEASE_VERSION_MINOR}
+ CACHE STRING "Distribution branch name")
include("${PROJECT_SOURCE_DIR}/cmake/GitRelease.cmake")
set(VERSION ${GIT_RELEASE_VERSION})