summarylogtreecommitdiffstats
path: root/cmake-git.patch
blob: 2b86203720df6a6bf86d6125a8d84c12b3ebc3fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/stp-2.1.2/CMakeLists.txt	2015-10-28 19:35:49.000000000 -0400
+++ src/stp-2.1.2/CMakeLists.txt	2016-04-23 19:34:26.720530911 -0400
@@ -260,14 +260,6 @@
         PARENT_SCOPE)
 endfunction()
 
-find_program (GIT_EXECUTABLE git)
-if (GIT_EXECUTABLE)
-  include(GetGitRevisionDescription)
-  get_git_head_revision(GIT_REFSPEC GIT_SHA)
-  MESSAGE(STATUS "GIT hash found: ${GIT_SHA}")
-else()
-  set(GIT_SHA "GIT-hash-notfound")
-endif()
 set(STP_FULL_VERSION "2.1.2")
 
 string(REPLACE "." ";" STP_FULL_VERSION_LIST ${STP_FULL_VERSION})