2 # netsniff-ng - the packet sniffing beast
3 # By Emmanuel Roullit <emmanuel@netsniff-ng.org>
4 # Copyright 2009, 2011 Emmanuel Roullit.
5 # Subject to the GPL, version 2.
8 # Find libnl includes and library. This module defines:
9 # LIBNL_FOUND - whether the libnl library was found
10 # LIBNL_LIBRARIES - the libnl library
11 # LIBNL_INCLUDE_DIR - the include path of the libnl library
13 find_library(LIBNL_LIBRARY nl-genl-3)
15 set(LIBNL_LIBRARIES ${LIBNL_LIBRARY})
19 NAMES netlink/version.h
20 PATH_SUFFIXES include/libnl3
23 include(FindPackageHandleStandardArgs)
25 find_package_handle_standard_args(