diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-02-01 19:34:21 +0300 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-02-01 19:37:24 +0300 |
commit | 2ef7fea76e85e3393c354bff31b7063c6228407b (patch) | |
tree | 56a298df5e0956184b50fbcf5eee35d65d20d827 /CMakeLists.txt | |
parent | 2e7a20b6811468ac58ef0819c0ccc6aa021fb365 (diff) |
CMake: set git-revision to version_sufix if not available
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b1a9c3a4a..0decd77a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,7 @@ if (${GIT_REVISION} STREQUAL "n/a") git_rev_parse(GIT_REVISION --short) endif() -if(NOT GIT_REVISION) +if(NOT GIT_REVISION OR ${GIT_REVISION} STREQUAL "n/a") set(GIT_REVISION ${REMMINA_VERSION_SUFFIX}) endif() message(STATUS "Git Revision ${GIT_REVISION}") |