From 87bf949d1f8b8a86716c5880244df95b39f67708 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Mon, 24 Feb 2020 18:22:52 +0200 Subject: [PATCH] Disable NFQ on non-linux. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- 2.44.2