summaryrefslogtreecommitdiff
path: root/platform/CMakeLists.txt
blob: 6037773e240e8a25b4d9e0778d822b06fff1e3ab (plain)
1
2
3
4
5
6
7
8
9
10
find_package(NFNETLINK REQUIRED)

add_executable(packetadapter src/inject_pkt.c src/system.c src/packet_adapter.c)

target_include_directories(packetadapter PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)

target_link_libraries(packetadapter common)
target_link_libraries(packetadapter netfilter_queue)

install(TARGETS packetadapter RUNTIME DESTINATION bin COMPONENT Program)