[Cmake-commits] CMake branch, dashboard, updated. 48d9afe4618a990f0ca52ba5107a6d02ac920849
Brad King
brad.king at kitware.com
Thu May 12 09:50:19 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, dashboard has been updated
via 48d9afe4618a990f0ca52ba5107a6d02ac920849 (commit)
from 2192a76ad114dab6bd8cafb7670d4f41d69c2b0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=48d9afe4618a990f0ca52ba5107a6d02ac920849
commit 48d9afe4618a990f0ca52ba5107a6d02ac920849
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu May 12 09:48:51 2011 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu May 12 09:48:51 2011 -0400
cmake_common: Search for Git in standard msysGit location
The find_program command searches under the Program Files directory on
Windows. Add the "Git/cmd" and "Git/bin" path suffixes to tell the
command to look in these locations under Program Files.
diff --git a/cmake_common.cmake b/cmake_common.cmake
index ade4ccc..b309662 100644
--- a/cmake_common.cmake
+++ b/cmake_common.cmake
@@ -134,7 +134,10 @@ if(dashboard_use_git_repo)
# Look for a GIT command-line client.
if(NOT DEFINED CTEST_GIT_COMMAND)
- find_program(CTEST_GIT_COMMAND NAMES git git.cmd)
+ find_program(CTEST_GIT_COMMAND
+ NAMES git git.cmd
+ PATH_SUFFIXES Git/cmd Git/bin
+ )
endif()
# Use git only if driving CTest is at least 2.8.0.
-----------------------------------------------------------------------
Summary of changes:
cmake_common.cmake | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list