Wireshark-commits: [Wireshark-commits] master 9506909: cmake: use pkg-config for resolving dependen
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9506909223f6155085a7a4d5adc039ebf60030f2
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
9506909 by Peter Wu (peter@xxxxxxxxxxxxx):
cmake: use pkg-config for resolving dependencies
Changes:
* Fix glib2 search path.
* Add pkg-config support to CAP, GEOIP, GNUTLS, LUA, PortAudio (API
19), zlib, kerberos.
* Add pkg-config support to libnl3, libnl2 and libnl1 (but tested only
with libnl3).
This makes it easier to do 32-bit builds on 64-bit hosts by just setting
`PKG_CONFIG_LIBDIR`. Due to how HINTS work, it is still fragile though:
missing 32-bit libraries will cause a fallback to 64-bit libraries.
A future patch could check for `<PREFIX>_FOUND` and remove the manual
`find_path` and `find_library` hackery since the paths are already
known.
Change-Id: Ieb4fb74695c96afb1a4c70168e84abb1fa4612c6
Reviewed-on: https://code.wireshark.org/review/4292
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 0ac441b Dissect ext_capab and alt_mac_addr subelements of wifi display IE.
adds 9506909 cmake: use pkg-config for resolving dependencies
Summary of changes:
cmake/modules/FindCAP.cmake | 13 ++++++++++---
cmake/modules/FindGEOIP.cmake | 17 ++++++++++++++---
cmake/modules/FindGLIB2.cmake | 6 +++---
cmake/modules/FindGNUTLS.cmake | 30 +++++++++++++++++++++---------
cmake/modules/FindKERBEROS.cmake | 17 ++++++++++++++---
cmake/modules/FindLUA.cmake | 9 +++++++--
cmake/modules/FindNL.cmake | 22 ++++++++++++++++++++++
cmake/modules/FindPORTAUDIO.cmake | 12 ++++++++++--
cmake/modules/FindZLIB.cmake | 5 +++++
9 files changed, 106 insertions(+), 25 deletions(-)