add_library(bpf_obj bpf_obj.cpp)
target_include_directories(bpf_obj PUBLIC ${CMAKE_CURRENT_LIST_DIR})
if (SUPPORT_BPF)
    target_link_libraries(bpf_obj PUBLIC bpf)
    execute_process(COMMAND make WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/bpf/)
	install(FILES ./bpf_tun_rss_steering.o DESTINATION ${CMAKE_INSTALL_PREFIX}/resource/bpf/ COMPONENT PROFILE)
endif()