summaryrefslogtreecommitdiff
path: root/cmake/modules/FindNL.cmake
AgeCommit message (Collapse)AuthorFilesLines
2014-10-01cmake: use pkg-config for resolving dependenciesPeter Wu1-0/+22
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@gmail.com>
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash) Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd Reviewed-on: https://code.wireshark.org/review/881 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-04-04If we somehow manage to find libnl version 2 or 3, but don't manage toGuy Harris1-7/+16
find the corresponding libnl-genl or libnl-route libraries, act as if we didn't find libnl. If we didn't find libnl version 2 or 3, don't check whether it's version 2 or 3. svn path=/trunk/; revision=48742
2012-11-22Don't set HAVE_LIBNL1 if we have don't libnl at all.Guy Harris1-1/+3
svn path=/trunk/; revision=46146
2012-09-11Differentiate between libnl versions. Feature parity with autofooJörg Mayer1-34/+57
for libnl. svn path=/trunk/; revision=44876
2012-09-10Only check if the NL-stuff isn't in the caches alreadyJörg Mayer1-38/+45
svn path=/trunk/; revision=44838
2012-09-06Get netlink detection working with cmake (not complete)Jörg Mayer1-33/+53
svn path=/trunk/; revision=44791
2012-06-20Complete cmake support for netlink detectionJörg Mayer1-0/+50
svn path=/trunk/; revision=43421