diff options
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r-- | CMakeOptions.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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) |