diff options
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 45de57a..6506b1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,18 +19,12 @@ IF(NOT COMPILE_SUPPORT) ADD_DEFINITIONS(-DNO_COMPILE) ENDIF() -IF(APPLE) - SET(NOT_APPLE OFF) -ELSE() - SET(NOT_APPLE ON) -ENDIF() - OPTION(FS_SUPPORT "Filesystem plugin support" ON) OPTION(MATH_SUPPORT "Math plugin support" ON) OPTION(UBUS_SUPPORT "Ubus plugin support" ON) OPTION(UCI_SUPPORT "UCI plugin support" ON) -OPTION(RTNL_SUPPORT "Route Netlink plugin support" ${NOT_APPLE}) -OPTION(NL80211_SUPPORT "Wireless Netlink plugin support" ${NOT_APPLE}) +OPTION(RTNL_SUPPORT "Route Netlink plugin support" ${LINUX}) +OPTION(NL80211_SUPPORT "Wireless Netlink plugin support" ${LINUX}) OPTION(RESOLV_SUPPORT "NS resolve plugin support" ON) OPTION(STRUCT_SUPPORT "Struct plugin support" ON) OPTION(ULOOP_SUPPORT "Uloop plugin support" ON) |