aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-11-12 17:50:18 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2015-11-13 14:24:05 +0000
commit654d4abf71ea2fd69eacce57dd970f93e2deab46 (patch)
treed791369a5c9be40416978b9db18b96e547cb3998 /docbook/wsdg_src
parentda71ccbf778cca5d9c48e010597570a40fd190c0 (diff)
CMake: add our own FindCygwin module
The one from official CMake (3.3.2) does not look for the default 64bits installation path. Let's add it. Also add a WIRESHARK_CYGWIN_INSTALL_PATH environment variable allowing to force it. For reference, registry based detection fails to detect a 64bits installation because it gets redirected to the Wow6432 node. Change-Id: If3172494e3ab232e094389b493e6b67023662ae5 Reviewed-on: https://code.wireshark.org/review/11769 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc b/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
index 39fbd4c678..43819e113c 100644
--- a/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
@@ -387,6 +387,13 @@ Set the following environment variables, using paths and values suitable for you
> set WIRESHARK_VERSION_EXTRA=-YourExtraVersionInfo
----
+If your Cygwin installation path is not automatically detected by CMake, you can explicitly specify it with the following
+environment variable:
+
+----
+> set WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin or whatever other path that is applicable to your setup
+----
+
If you are using a version of Visual Studio earlier than VS2012 then you must set an additional env var,
e.g. for VS2010 set the following:
----