add vscode settings

This commit is contained in:
springzfx
2020-07-15 01:02:10 +08:00
parent cba7800e2b
commit 538f1722cf
3 changed files with 24 additions and 6 deletions

View File

@@ -1,12 +1,8 @@
# find libbpf
if (build_static)
find_library(LIBBPF libbpf.a)
find_library(LIBBPF libbpf.a REQUIRED)
else()
find_library(LIBBPF bpf)
endif()
if (LIBBPF-NOTFOUND)
message(FATAL_ERROR "libbpf not found")
find_library(LIBBPF bpf REQUIRED)
endif()
if (build_execsnoop_dl)