Skip to content

Commit b2b9960

Browse files
Anohkkadanielocfb
authored andcommitted
examples/c: fix CMake builds that use Ninja
Signed-off-by: Anohkka <61073541+Anohkka@users.noreply.github.com>
1 parent ad4ebde commit b2b9960

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)