Skip to content

Commit

Permalink
fix(userspace/libpman): only add ProbeSkeleton dep if ProbeSkeleton i…
Browse files Browse the repository at this point in the history
…s a target.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Jan 24, 2024
1 parent bf6e77a commit eb7233a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion userspace/libpman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ PUBLIC
${ZLIB_LIB}
)

add_dependencies(pman ProbeSkeleton)
if (TARGET ProbeSkeleton)
add_dependencies(pman ProbeSkeleton)
endif()

if(USE_BUNDLED_LIBBPF)
add_dependencies(pman libbpf)
Expand Down

0 comments on commit eb7233a

Please sign in to comment.