diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2017-05-10 23:57:33 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2017-05-10 23:57:33 +0300 |
commit | 41c8de665ffc048756ea41b6b8ecab8b02e183d2 (patch) | |
tree | 603bda627220a99158bc2366e30514657700484a /CMakeLists.txt | |
parent | 192db5de2af80edc79b45c587b2edabff0698c5b (diff) |
Fixing PPA build error
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d91eeca39..a3cae1003 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,14 +116,10 @@ if(NOT ${REMMINA_VERSION_SUFFIX} STREQUAL "") set(REMMINA_VERSION "${REMMINA_VERSION}-${REMMINA_VERSION_SUFFIX}") endif() - -find_package(Git) -if(GIT_FOUND) - include(GetGitRevisionDescription) - git_get_exact_tag(REMMINA_GIT_REVISION --tags --always) - if(${REMMINA_GIT_REVISION} STREQUAL "n/a") - git_rev_parse(REMMINA_GIT_REVISION --short) - endif() +include(GetGitRevisionDescription) +git_get_exact_tag(REMMINA_GIT_REVISION --tags --always) +if(${REMMINA_GIT_REVISION} STREQUAL "n/a") + git_rev_parse(REMMINA_GIT_REVISION --short) endif() if(NOT REMMINA_GIT_REVISION OR ${REMMINA_GIT_REVISION} STREQUAL "n/a") |