Wireshark-commits: [Wireshark-commits] master-2.0 25ec91a: CMake: add our own FindCygwin module
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=25ec91a5a7b79e0f1a3cb50bfefc4797299ddafe
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
25ec91a by Pascal Quantin (pascal.quantin@xxxxxxxxx):
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@xxxxxxxxx>
Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
(cherry picked from commit 654d4abf71ea2fd69eacce57dd970f93e2deab46)
Reviewed-on: https://code.wireshark.org/review/11807
Actions performed:
from 51d1065 epan: Free cf->edt before free cf->epan when redissecting.
adds 25ec91a CMake: add our own FindCygwin module
Summary of changes:
cmake/modules/FindCygwin.cmake | 65 ++++++++++++++++++++
docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc | 7 +++
2 files changed, 72 insertions(+)
create mode 100644 cmake/modules/FindCygwin.cmake