From 7d0c833dc33135d435c018930949d10cfacead04 Mon Sep 17 00:00:00 2001 From: Mikhail Paulyshka Date: Thu, 11 May 2017 02:56:48 +0300 Subject: [PATCH] Disable automatic git revision detection --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf93d9a05..b62c31cae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,12 +113,6 @@ if(CCACHE AND WITH_CCACHE) set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE}) endif(CCACHE AND WITH_CCACHE) -include(GetGitRevisionDescription) -git_get_exact_tag(GIT_REVISION --tags --always) - -if (${GIT_REVISION} STREQUAL "n/a") - git_rev_parse (GIT_REVISION --short) -endif() if(CMAKE_CROSSCOMPILING) SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY) endif(CMAKE_CROSSCOMPILING) -- 2.11.0.windows.1