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)
|