blob: e4a383dd69fccc438db86ea894f94cb6523924bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 47a050e2..5dd5ff3f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -123,10 +123,8 @@ endif(STATIC_LINKING)
target_link_libraries(libbpftrace parser resources runtime aot ast arch cxxdemangler_llvm)
-if (LIBBPF_BTF_DUMP_FOUND)
- target_include_directories(runtime PUBLIC ${LIBBPF_INCLUDE_DIRS})
- target_link_libraries(runtime ${LIBBPF_LIBRARIES})
-endif(LIBBPF_BTF_DUMP_FOUND)
+target_include_directories(runtime PUBLIC ${LIBBPF_INCLUDE_DIRS})
+target_link_libraries(runtime ${LIBBPF_LIBRARIES})
if(HAVE_BFD_DISASM)
if(STATIC_LINKING)
|