libnl is a Linux-specific library; don't offer libnl support except on Linux.

Change-Id: I79a98d1f9b3559fe76feed1038d673dd3424409c
Reviewed-on: https://code.wireshark.org/review/1515
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-05-05 11:22:25 -07:00
parent e35ccbac90
commit 2975593227
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ option(ENABLE_GCRYPT "Build with GNU crypto support" ON)
option(ENABLE_GEOIP "Build with GeoIP support" ON)
option(ENABLE_CAP "Build with Posix capabilities support" ON)
option(ENABLE_CARES "Build with c-ares support" ON)
option(ENABLE_NETLINK "Build with libnl support" ON)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
option(ENABLE_NETLINK "Build with libnl support" ON)
endif()
# todo Mostly hardcoded
option(ENABLE_KERBEROS "Build with Kerberos support" ON)
option(ENABLE_SBC "Build with SBC Codec support in RTP Player" ON)