Skip to content

Commit b2b9960

Browse files
Anohkkadanielocfb
authored andcommitted
examples/c: fix CMake builds that use Ninja
Signed-off-by: Anohkka <[email protected]>
1 parent ad4ebde commit b2b9960

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/c/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ExternalProject_Add(libbpf
2424
BUILD_IN_SOURCE TRUE
2525
INSTALL_COMMAND ""
2626
STEP_TARGETS build
27+
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/libbpf/libbpf.a
2728
)
2829

2930
ExternalProject_Add(bpftool

0 commit comments

Comments
 (0)