summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)