Skip to content

Commit

Permalink
Fix build break
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 20, 2024
1 parent 2b9fa51 commit 3d9fb7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ file(GLOB LIB_SRC
"./src/linux/linux_platform.cpp"
)

# If VERIFIER_ENABLE_TESTS is disabled, remove ebpf_yaml.cpp from the list of sources
if (NOT VERIFIER_ENABLE_TESTS)
list(REMOVE_ITEM LIB_SRC "./src/ebpf_yaml.cpp")
endif ()

if(VERIFIER_ENABLE_TESTS)
file(GLOB ALL_TEST
"src/test/ebpf_yaml.hpp"
"src/test/ebpf_yaml.hpp"
"./src/test/test_conformance.cpp"
"./src/test/test_marshal.cpp"
"./src/test/test_print.cpp"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3d9fb7e

Please sign in to comment.