diff options
author | Brad King <brad.king@kitware.com> | 2010-06-07 18:28:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-07 18:28:45 (GMT) |
commit | d868ec94068603f3a9702d027c3943bad792af19 (patch) | |
tree | 219190087716b3ee51d03149295acd63f986dc7a /Tests/CMakeTests/CMakeLists.txt | |
parent | 0d07e4379eba849bd438cc605fc09d76a8dc5408 (diff) | |
parent | c943ccdbfaa4ed04baab6d1237c6e6219e0fe58a (diff) | |
download | CMake-d868ec94068603f3a9702d027c3943bad792af19.zip CMake-d868ec94068603f3a9702d027c3943bad792af19.tar.gz CMake-d868ec94068603f3a9702d027c3943bad792af19.tar.bz2 |
Merge branch 'add-git-to-CheckSourceTreeTest'
Diffstat (limited to 'Tests/CMakeTests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeTests/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt index 3e5f08c..8fd52df 100644 --- a/Tests/CMakeTests/CMakeLists.txt +++ b/Tests/CMakeTests/CMakeLists.txt @@ -51,13 +51,14 @@ AddCMakeTest(GetPrerequisites "${GetPrerequisites_PreArgs}") # suite. It detects if any changes have been made to the CMake source tree # by any previous configure, build or test steps. # -if(do_cvs_tests) +if(do_cvs_tests OR GIT_EXECUTABLE) string(REPLACE "\\" "/" ENV_HOME "$ENV{HOME}") set(CheckSourceTree_PreArgs "-DCMake_BINARY_DIR:PATH=${CMake_BINARY_DIR}" "-DCMake_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}" "-DCVS_EXECUTABLE:STRING=${CVS_EXECUTABLE}" + "-DGIT_EXECUTABLE:STRING=${GIT_EXECUTABLE}" "-DHOME:STRING=${ENV_HOME}" ) AddCMakeTest(CheckSourceTree "${CheckSourceTree_PreArgs}") -endif(do_cvs_tests) +endif(do_cvs_tests OR GIT_EXECUTABLE) |