File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ find_package(BpfObject REQUIRED)
7777file (GLOB apps *.bpf.c)
7878if (NOT CARGO_EXISTS)
7979 list (REMOVE_ITEM apps ${CMAKE_CURRENT_SOURCE_DIR} /profile.bpf.c)
80+ list (REMOVE_ITEM apps ${CMAKE_CURRENT_SOURCE_DIR} /snooper.bpf.c)
8081endif ()
8182foreach (app ${apps} )
8283 get_filename_component (app_stem ${app} NAME_WE )
@@ -93,4 +94,10 @@ foreach(app ${apps})
9394 target_link_libraries (${app_stem}
9495 ${CMAKE_CURRENT_SOURCE_DIR} /../../blazesym/target /release/libblazesym_c.a -lpthread -lrt -ldl)
9596 endif ()
97+ if (${app_stem} STREQUAL snooper)
98+ target_include_directories (${app_stem} PRIVATE
99+ ${CMAKE_CURRENT_SOURCE_DIR} /../../blazesym/capi/include )
100+ target_link_libraries (${app_stem}
101+ ${CMAKE_CURRENT_SOURCE_DIR} /../../blazesym/target /release/libblazesym_c.a -lpthread -lrt -ldl)
102+ endif ()
96103endforeach ()
You can’t perform that action at this time.
0 commit comments