BPF适配不同的编译环境

This commit is contained in:
luwenpeng
2023-04-23 17:41:57 +08:00
parent cbf424884c
commit 95c80c80cf
4 changed files with 36 additions and 8 deletions

View File

@@ -7,10 +7,6 @@ target_include_directories(common PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
target_link_libraries(common PUBLIC libevent-static libevent-static-openssl libevent-static-pthreads rdkafka)
target_link_libraries(common PUBLIC MESA_handle_logger cjson)
if (SUPPORT_BPF)
target_link_libraries(common PUBLIC bpf)
endif()
if (SUPPORT_LIBURING)
target_link_libraries(common PUBLIC uring)
endif()