Skip to content

Commit

Permalink
Fix build
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 265ff9f commit 4a81054
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ file(GLOB LIB_SRC

if(VERIFIER_ENABLE_TESTS)
file(GLOB ALL_TEST
"./src/test/ebpf_yaml.cpp"
"./src/test/test_conformance.cpp"
"./src/test/test_marshal.cpp"
"./src/test/test_print.cpp"
"./src/test/test_verify.cpp"
"./src/test/test_wto.cpp"
"./src/test/test_yaml.cpp"
)
set(LIB_SRC ${LIB_SRC} "./src/test/ebpf_yaml.cpp")
endif()

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR
Expand Down Expand Up @@ -136,6 +136,8 @@ endif()
target_include_directories(ebpfverifier PRIVATE ${GSL_INCLUDE_DIRS})

if(VERIFIER_ENABLE_TESTS)
target_include_directories(run_yaml PRIVATE src/test)

set_target_properties(check
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/..")
Expand Down

0 comments on commit 4a81054

Please sign in to comment.