summaryrefslogtreecommitdiff
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-05-05 11:22:25 -0700
committerGuy Harris <guy@alum.mit.edu>2014-05-05 18:23:10 +0000
commit2975593227f0167e86c4f19e5cf95c7429295343 (patch)
tree3029bfe143ce071ac121be17e035a0770a568af1 /CMakeOptions.txt
parente35ccbac90bfe81296b9244667185e2e7dddfe47 (diff)
downloadwireshark-2975593227f0167e86c4f19e5cf95c7429295343.tar.gz
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>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 7895348671..2a5969f0c1 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -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)