summaryrefslogtreecommitdiffstats
path: root/Modules/FindGit.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'improve-findgit'Brad King2011-01-111-0/+1
|\ | | | | | | | | ed2b314 Add PATH_SUFFIXES for finding git.
| * Add PATH_SUFFIXES for finding git.David Cole2011-01-061-0/+1
| | | | | | | | | | This commit makes it automatic to find msysGit installed in its default locations on Windows.
* | Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017Alex Neundorf2011-01-041-1/+1
|/ | | | | | | | This puts the new search behaviour for included files in action, i.e. now when a file from Modules/ include()s another file, it also gets the one from Modules/ included, i.e. the one it expects. Alex
* Use absolute path to FindPackageHandleStandardArgs.cmake everywhereAlex Neundorf2010-09-281-1/+1
| | | | | | | This is to avoid getting an (older) copy of FPHSA.cmake which is e.g. installed with KDE 4.5.0 and 4.5.1. Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Add FindGit module.David Cole2010-06-031-0/+46
Use it from ExternalProject and the ExternalProject test's CMakeLists file rather than having duplicate find_program calls. Add logic so that we do not try to use *.cmd variants of git programs when using the MSYS Makefiles generator. Should fix the last remaining dashboard issue with the new ExternalProject git support additions. Also, correct minor problem regarding placement of the local git repo during test execution. On clean builds, it was being placed incorrectly because of the ../.. relative reference. Use an absolute path to place the local git repo in the proper directory, and only use the relative reference when referring to it.