From 657e42bc40ce4c0962bfdb43c625620b66ae9776 Mon Sep 17 00:00:00 2001 From: Michal Labedzki Date: Mon, 17 Nov 2014 19:26:12 +0100 Subject: cmake: Do not hide possible options for other platforms Change-Id: I408620cb39a25a4104e9ea562f6512f4196ae32f Reviewed-on: https://code.wireshark.org/review/5766 Reviewed-by: Michal Labedzki --- CMakeOptions.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeOptions.txt b/CMakeOptions.txt index d813d2d60d..47637f5a6a 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -67,6 +67,8 @@ option(ENABLE_CAP "Build with Posix capabilities support" ON) option(ENABLE_CARES "Build with c-ares support" ON) if(CMAKE_SYSTEM_NAME STREQUAL "Linux") option(ENABLE_NETLINK "Build with libnl support" ON) +else() + option(ENABLE_NETLINK "Build with libnl support" OFF) endif() # todo Mostly hardcoded option(ENABLE_KERBEROS "Build with Kerberos support" ON) -- cgit v1.2.3