1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/domoticz/do-not-fail-if-git-missing.patch
alpine-mips-patches 8b256dcd69 community/domoticz: fix build without git installed
Let build continue when git is not found. No changes in behaviour
because all attempts to use git (to get project revision etc) fail
due to missing .git folder in the source tarball and project falls
back to appversion.default in any case.
2018-12-17 08:59:04 +00:00

11 lines
289 B
Diff

--- a/getgit.cmake
+++ b/getgit.cmake
@@ -4,7 +4,7 @@
# the git.cmake module is part of the standard distribution
find_package(Git)
if(NOT GIT_FOUND)
- MESSAGE(FATAL_ERROR "Git not found!.")
+ MESSAGE(WARNING "Git not found!.")
endif()
MACRO(Gitversion_GET_REVISION dir variable)