From: Jan Rękorajski Date: Sat, 6 Jun 2020 10:22:33 +0000 (+0200) Subject: - don't even look for git, it's not needed for the build X-Git-Tag: auto/th/domoticz-2020.2-2~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdomoticz.git;a=commitdiff_plain;h=080c284 - don't even look for git, it's not needed for the build --- diff --git a/no-git.patch b/no-git.patch index 6c7586c..abf9e1b 100644 --- a/no-git.patch +++ b/no-git.patch @@ -44,7 +44,19 @@ endif() --- domoticz-2020.2/getgit.cmake.orig 2020-04-26 15:49:25.000000000 +0200 +++ domoticz-2020.2/getgit.cmake 2020-06-06 12:19:42.567678153 +0200 -@@ -23,55 +23,11 @@ +@@ -2,11 +2,6 @@ + # please take into account, that the variable 'SOURCE_DIR' has been defined by the caller + + # the git.cmake module is part of the standard distribution +-find_package(Git) +-if(NOT GIT_FOUND) +- MESSAGE(FATAL_ERROR "Git not found!.") +-endif() +- + MACRO(History_GET_REVISION variable) + IF(EXISTS ${CMAKE_SOURCE_DIR}/History.txt) + MESSAGE(STATUS "Read ProjectRevision from History.txt") +@@ -23,55 +18,11 @@ ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/History.txt) ENDMACRO(History_GET_REVISION)