cmake: Do not hide possible options for other platforms

Change-Id: I408620cb39a25a4104e9ea562f6512f4196ae32f
Reviewed-on: https://code.wireshark.org/review/5766
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
This commit is contained in:
Michal Labedzki 2014-11-17 19:26:12 +01:00
parent fddbbdd212
commit 657e42bc40
1 changed files with 2 additions and 0 deletions

View File

@ -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)