File: skip-seqan-revision

package info (click to toggle)
seqan2 2.4.0%2Bdfsg-17
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 224,224 kB
  • sloc: cpp: 256,886; ansic: 91,672; python: 8,330; sh: 995; xml: 570; makefile: 255; awk: 51; javascript: 21
file content (29 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (6)
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
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Don't look for a git directory, as the Debian packaging confuses
the build system
--- seqan2.orig/util/cmake/SeqAnBuildSystem.cmake
+++ seqan2/util/cmake/SeqAnBuildSystem.cmake
@@ -692,14 +692,15 @@
   set (_SEQAN_GIT_DIR "${CMAKE_SOURCE_DIR}/.git")
   message (STATUS "  Selected repository dir: ${CMAKE_SOURCE_DIR}")
   # Get Git information.
-  if (EXISTS ${_SEQAN_GIT_DIR})
-    find_package (GitInfo QUIET)
-    if (GIT_FOUND)
-      GIT_WC_INFO (${CMAKE_SOURCE_DIR} _SEQAN)
-    endif ()
-  else ()
-    message(STATUS "No revision system found.")
-  endif ()
+  # But not when packaging for Debian.
+  # if (EXISTS ${_SEQAN_GIT_DIR})
+  #   find_package (GitInfo QUIET)
+  #   if (GIT_FOUND)
+  #     GIT_WC_INFO (${CMAKE_SOURCE_DIR} _SEQAN)
+  #   endif ()
+  # else ()
+  #   message(STATUS "No revision system found.")
+  # endif ()
 
   # Set SeqAn date of last commit.
   if (_SEQAN_WC_LAST_CHANGED_DATE)