diff options
author | Gerald Combs <gerald@wireshark.org> | 2017-07-31 16:41:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-04 13:23:05 (GMT) |
commit | 0184531a6334075fdf572198a78065b9f494036d (patch) | |
tree | 24b222c22c0e5979696c598a5403bc21b6be8f5c /Modules/FindCygwin.cmake | |
parent | df585ca96f591c2084b2ccd1818316a2bbb5ab99 (diff) | |
download | CMake-0184531a6334075fdf572198a78065b9f494036d.zip CMake-0184531a6334075fdf572198a78065b9f494036d.tar.gz CMake-0184531a6334075fdf572198a78065b9f494036d.tar.bz2 |
FindCygwin: Look for Cygwin in C:\Cygwin64.
Add "C:\Cygwin64" to the list of Cygwin search paths.
Diffstat (limited to 'Modules/FindCygwin.cmake')
-rw-r--r-- | Modules/FindCygwin.cmake | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake index b2ed703..086c7dc 100644 --- a/Modules/FindCygwin.cmake +++ b/Modules/FindCygwin.cmake @@ -9,10 +9,12 @@ if (WIN32) find_program(CYGWIN_INSTALL_PATH - cygwin.bat - "C:/Cygwin" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]" + NAMES cygwin.bat + PATHS + "C:/Cygwin" + "C:/Cygwin64" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]" ) get_filename_component(CYGWIN_INSTALL_PATH "${CYGWIN_INSTALL_PATH}" DIRECTORY) mark_as_advanced( |