summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/iptables/CMakeLists.txt
blob: 0f77a1bd897a9d3f96f3808d5e5d903095b666b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PROJECT(eurephiafw-iptables C)
cmake_minimum_required(VERSION 2.6)
SET(efw_ipt_SRC
	 efw_iptables.c
	../eurephiafw_helpers.c
	../../../common/eurephia_log.c
)

INCLUDE_DIRECTORIES(BEFORE ../..)
ADD_LIBRARY(efw_iptables MODULE ${efw_ipt_SRC})
TARGET_LINK_LIBRARIES(efw_iptables pthread rt gcc_s)
SET_TARGET_PROPERTIES(efw_iptables PROPERTIES PREFIX "")