From 8fe6b04ba7d174b4a8ec43ac07dfa0d9a7c9b3b7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 4 Jan 2015 16:25:51 -0800 Subject: Note why we only default to enabling libnl on Linux. (Just as we note why we only check for it on Linux in autotools.) Change-Id: I58c1f31fdf667ed554a4e911df13e5c864171ac0 Reviewed-on: https://code.wireshark.org/review/6315 Reviewed-by: Guy Harris --- CMakeOptions.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeOptions.txt') diff --git a/CMakeOptions.txt b/CMakeOptions.txt index 47637f5a6a..173eb39835 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -65,6 +65,9 @@ else() endif() option(ENABLE_CAP "Build with Posix capabilities support" ON) option(ENABLE_CARES "Build with c-ares support" ON) +# +# Libnl is Linux-specific. +# if(CMAKE_SYSTEM_NAME STREQUAL "Linux") option(ENABLE_NETLINK "Build with libnl support" ON) else() -- cgit v1.2.3