projects
/
merkaartor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb6e0f
)
Don't use git for version information.
author
Bas Couwenberg
<sebastic@debian.org>
Wed, 13 Mar 2024 14:22:13 +0000
(15:22 +0100)
committer
Bas Couwenberg
<sebastic@debian.org>
Wed, 13 Mar 2024 14:22:13 +0000
(15:22 +0100)
Forwarded: not-needed
Gbp-Pq: Name no-git-version.patch
cmake/vcs.cmake
patch
|
blob
|
history
diff --git
a/cmake/vcs.cmake
b/cmake/vcs.cmake
index 062ab977cec21c32abb01e8b92e78671139d95dd..8996bc1162f3abb07c0983e1d99ce9fb45d005bb 100644
(file)
--- a/
cmake/vcs.cmake
+++ b/
cmake/vcs.cmake
@@
-1,5
+1,5
@@
-if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
+if (EXISTS "${CMAKE_SOURCE_DIR}/.git"
AND NOT EXISTS "${CMAKE_SOURCE_DIR}/debian"
)
# If git directory is present, we require git executable and gather our info from git commands.
find_package(Git)
if (NOT ${GIT_FOUND})