Skip to content

Commit

Permalink
feat: add BPF library dependency and include eBPF subdirectory in CMa…
Browse files Browse the repository at this point in the history
…ke configuration

Signed-off-by: Dengfeng Liu <[email protected]>
  • Loading branch information
liudf0716 committed Feb 3, 2025
1 parent b015082 commit de670f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pkg_check_modules(OPENSSL REQUIRED openssl)
pkg_check_modules(JSONC REQUIRED json-c)
pkg_check_modules(MOSQUITTO REQUIRED libmosquitto)
pkg_check_modules(NFQUEUE REQUIRED libnetfilter_queue)
pkg_check_modules(BPF REQUIRED libbpf)


if (NOT AW_FW3)
Expand All @@ -44,7 +45,9 @@ include_directories(
${UCI_INCLUDE_DIRS}
${LIBEVENT_INCLUDE_DIRS}
${OPENSSL_INCLUDE_DIRS}
${MOSQUITTO_INCLUDE_DIRS}
)

# Add subdirectories
add_subdirectory(src)
add_subdirectory(ebpf)

0 comments on commit de670f0

Please sign in to comment.