summaryrefslogtreecommitdiffstats
path: root/Modules/FindSquish.cmake
diff options
context:
space:
mode:
authorTibor Szabo <szabootibor@gmail.com>2017-08-11 09:30:35 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-15 17:53:10 (GMT)
commit62930253a3d3eb983f846a3cf20f36e34c71cb9e (patch)
treefa121e1e56c188b460c7b11b1e90dd0359a9dc63 /Modules/FindSquish.cmake
parentfca4423786ba2c4a5ab0ec6c1a1cbac8cd8600b4 (diff)
downloadCMake-62930253a3d3eb983f846a3cf20f36e34c71cb9e.zip
CMake-62930253a3d3eb983f846a3cf20f36e34c71cb9e.tar.gz
CMake-62930253a3d3eb983f846a3cf20f36e34c71cb9e.tar.bz2
FindCygwin: Fix regression when CYGWIN_INSTALL_PATH is already set
The change in commit v3.9.0-rc1~54^2 (FindCygwin: Use find_program instead of find_path, 2017-05-18) broke cases when `CYGWIN_INSTALL_PATH` is already set, e.g. on the command-line or by an earlier call to `find_package(Cygwin)`. Since `find_program` now finds the actual `cygwin.bat` file, use a separate cache entry to save the location and then compute `CYGWIN_INSTALL_PATH`. If `CYGWIN_INSTALL_PATH` is already set, use that to avoid `find_program` having to search.
Diffstat (limited to 'Modules/FindSquish.cmake')
0 files changed, 0 insertions, 0 deletions