Wireshark-commits: [Wireshark-commits] master 654d4ab: CMake: add our own FindCygwin module
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=654d4abf71ea2fd69eacce57dd970f93e2deab46
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
654d4ab 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>
Actions performed:
from da71ccb epan: Free cf->edt before free cf->epan when redissecting.
adds 654d4ab 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