summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-04-11 18:07:57 (GMT)
committerMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-04-11 18:08:01 (GMT)
commitb656a3fa160a7efd3e53275ffe14614d66a408b5 (patch)
tree43f9a0c3978032b4add0345eba992eb824580fea
parent7fc248bde34c529c6f1312a56c7e82303238b9c1 (diff)
downloadCMake-b656a3fa160a7efd3e53275ffe14614d66a408b5.zip
CMake-b656a3fa160a7efd3e53275ffe14614d66a408b5.tar.gz
CMake-b656a3fa160a7efd3e53275ffe14614d66a408b5.tar.bz2
FindGit: remove EasyGit
Blame shows EasyGit was part of initial FindGit 11 years ago. I can hardly find Easy Git as a package. Given that Git is vital for many complex CMake projects, it seems good to ensure CMake FindGit is finding a Git program likely to work. Crucial CMake modules like FetchContent also use FindGit, emphasizing the importance of having a Git executable with proper functionality.
-rw-r--r--Modules/FindGit.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake
index 99850b4..08a386a 100644
--- a/Modules/FindGit.cmake
+++ b/Modules/FindGit.cmake
@@ -31,16 +31,16 @@ Example usage:
endif()
#]=======================================================================]
-# Look for 'git' or 'eg' (easy git)
+# Look for 'git'
#
-set(git_names git eg)
+set(git_names git)
# Prefer .cmd variants on Windows unless running in a Makefile
# in the MSYS shell.
#
if(CMAKE_HOST_WIN32)
if(NOT CMAKE_GENERATOR MATCHES "MSYS")
- set(git_names git.cmd git eg.cmd eg)
+ set(git_names git.cmd git)
# GitHub search path for Windows
file(GLOB github_path
"$ENV{LOCALAPPDATA}/Github/PortableGit*/cmd"