aboutsummaryrefslogtreecommitdiff
path: root/ports/freerdp/FixGitRevisionDetection.patch
blob: dd0b33cb531f23b7bd59396eb3891367ac455743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 7d0c833dc33135d435c018930949d10cfacead04 Mon Sep 17 00:00:00 2001
From: Mikhail Paulyshka <me@mixaill.tk>
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