mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
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.
11 lines
289 B
Diff
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)
|