Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2016-01-24 23:48:13 +0300
committerAntenore Gatta <antenore@simbiosi.org>2016-01-24 23:48:13 +0300
commit53319f57b2fcdf2faec24aa746e652eb1d0cad36 (patch)
tree439a4d29167a2437f7ed842da05f734e2cf4b7c8 /CMakeLists.txt
parent1aa80375507ab97aacf6d354eb99788187c25620 (diff)
Use of REMMINA_VERSION_SUFFIX when git not available
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5faa9a466..cf8b6c5b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -104,12 +104,12 @@ set(REMMINA_VERSION "${REMMINA_VERSION_MAJOR}.${REMMINA_VERSION_MINOR}.${REMMINA
include(GetGitRevisionDescription)
git_get_exact_tag(GIT_REVISION --tags --always)
-if (${GIT_REVISION} STREQUAL "rcgit.8")
+if (${GIT_REVISION} STREQUAL ${REMMINA_VERSION_SUFFIX})
git_rev_parse(GIT_REVISION --short)
endif()
if(NOT GIT_REVISION)
- set(GIT_REVISION "rcgit.8")
+ set(GIT_REVISION ${REMMINA_VERSION_SUFFIX})
endif()
message(STATUS "Git Revision ${GIT_REVISION}")