blob: ba51997f26091bf129c7ea2d3afcc9689f4a5875 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
disable finding git because it should not be used nor needed
Written and tested by Lucas Mitrak.
https://bugs.gentoo.org/755746
--- a/SuperBuild/SuperBuild.cmake
+++ b/SuperBuild/SuperBuild.cmake
@@ -1,8 +1,8 @@
# Check if git exists
-find_package(Git)
-if(NOT GIT_FOUND)
- message(FATAL_ERROR "Cannot find Git. Git is required for Superbuild")
-endif()
+#find_package(Git)
+#if(NOT GIT_FOUND)
+# message(FATAL_ERROR "Cannot find Git. Git is required for Superbuild")
+#endif()
# Use git protocol or not
option(USE_GIT_PROTOCOL "If behind a firewall turn this off to use http instead." ON)
|