diff options
author | Roger Leigh <rleigh@debian.org> | 2013-09-30 23:10:52 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2013-09-30 23:10:52 +0100 |
commit | 5178d86a23e7b219465eb48fb2523c322e928ebf (patch) | |
tree | a09dcc7564b0fa9b0b566373145268824c6208e9 | |
parent | d38e4397e7bd31111819f06abb4aa67aaa76fba5 (diff) | |
download | schroot-5178d86a23e7b219465eb48fb2523c322e928ebf.tar.gz |
cmake: Configure distribution branch name
-rw-r--r-- | CMakeLists.txt | 2 |
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}) |