X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=CMakeLists.txt;h=e5d2dc3ebb65bdf1449f96d7cb8ce27339dac9d3;hb=6b27a6665c288937eb5028063064e3350dcab545;hp=50b1c3f43ba6d806ffdc137879963ef99460eb06;hpb=b6109157659a7d3f389797cfc6f91c90641ba33e;p=project%2Ffirewall3.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 50b1c3f..e5d2dc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ IF(APPLE) ENDIF() ADD_EXECUTABLE(firewall3 main.c options.c defaults.c zones.c forwards.c rules.c redirects.c utils.c ubus.c ipsets.c includes.c iptables.c) -TARGET_LINK_LIBRARIES(firewall3 uci ubox ubus ip4tc ip6tc) +TARGET_LINK_LIBRARIES(firewall3 uci ubox ubus ip4tc ip6tc xtables m ${CMAKE_SOURCE_DIR}/libext.a ${CMAKE_SOURCE_DIR}/libext4.a ${CMAKE_SOURCE_DIR}/libext6.a) SET(CMAKE_INSTALL_PREFIX /usr)