diff options
author | Brad King <brad.king@kitware.com> | 2017-03-10 21:00:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-10 21:09:31 (GMT) |
commit | c4d481e5b8558ac00e637b36312685762a82bb23 (patch) | |
tree | 718a1b01349bd5f8dad40448ec9062f32b560e49 /CMakeLogo.gif | |
parent | e1adec32b8325fb731da084e99acd6070f5e39bf (diff) | |
download | CMake-c4d481e5b8558ac00e637b36312685762a82bb23.zip CMake-c4d481e5b8558ac00e637b36312685762a82bb23.tar.gz CMake-c4d481e5b8558ac00e637b36312685762a82bb23.tar.bz2 |
FindGit: Avoid finding VS 2017 non-general Git installation
At a VS 2017 command prompt the `PATH` contains a directory that happens
to have a `Git/cmd/git.exe` inside it. However, this executable is not
meant for general use. Revise our use of `Git/` path suffixes to be
more specific to its original purpose of searching in the typical
`c:/Program Files*/Git/` installation directories. Avoid using the
suffixes on `PATH` entries.
Fixes: #16706
Diffstat (limited to 'CMakeLogo.gif')
0 files changed, 0 insertions, 0 deletions