From: Maksym Mamontov Date: Mon, 24 Feb 2020 16:22:52 +0000 (+0200) Subject: Disable NFQ on non-linux. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/87bf949d1f8b8a86716c5880244df95b39f67708?ds=sidebyside Disable NFQ on non-linux. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a75d732..c9b78497 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,6 @@ if ( BUILD_ALL_MODS ) set ( BUILD_MOD_STORE_POSTGRESQL ON ) set ( BUILD_MOD_RPCCONFIG ON ) set ( BUILD_MOD_CAP_PCAP ON ) - set ( BUILD_MOD_CAP_NFQUEUE ON ) set ( BUILD_MOD_RADIUS ON ) endif ( BUILD_ALL_MODS ) @@ -131,6 +130,9 @@ if ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" ) if ( BUILD_LIB_IBPP ) add_definitions ( -DIBPP_LINUX ) endif ( BUILD_LIB_IBPP ) + if ( BUILD_ALL_MODS ) + set ( BUILD_MOD_CAP_NFQUEUE ON ) + endif ( BUILD_ALL_MODS ) elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" ) add_definitions ( -DFREE_BSD ) set ( BUILD_MOD_CAP_ETHER_FREEBSD ON )