CMake: Additional default Cygwin location
authorGizem Yurdagul <gizemnuryurdagul@gmail.com>
Wed, 27 Dec 2017 11:48:16 +0000 (14:48 +0300)
committerGraham Bloice <graham.bloice@trihedral.com>
Thu, 28 Dec 2017 10:47:40 +0000 (10:47 +0000)
On 64bit Windows, Cygwin installer sets the installation path as
"C:/tools/cygwin64", add this to the set of default locations when searching
for Cygwin.

Change-Id: I2d6ff0dfb18f24a595583c5a9c4b05d573e05e75
Reviewed-on: https://code.wireshark.org/review/25029
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
cmake/modules/FindCygwin.cmake

index 44ec69488e4657b96c7f857aaff79921ae09943c..aec680a464dcf87c2cdf2be26974a4b71f6a45d2 100644 (file)
@@ -52,6 +52,7 @@ if (WIN32)
       "C:/Cygwin"
       "C:/Cygwin64"
       "C:/tools/cygwin"
+      "C:/tools/cygwin64"
       "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
       "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
   )