From 7d81e8a2439742e39e5af96f8ffeb1f57714abc3 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Mon, 4 Nov 2024 13:52:37 +0000 Subject: [PATCH] Add missing extra include path to fuzzer programs The fuzzer needs both kinds of test helper so needs to include things from both new and old locations. Signed-off-by: David Horstmann --- programs/fuzz/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/fuzz/CMakeLists.txt b/programs/fuzz/CMakeLists.txt index 7392047f99..9953dce880 100644 --- a/programs/fuzz/CMakeLists.txt +++ b/programs/fuzz/CMakeLists.txt @@ -40,7 +40,8 @@ foreach(exe IN LISTS executables_no_common_c executables_with_common_c) endif() add_executable(${exe} ${exe_sources}) - target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../framework/tests/include) + target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../framework/tests/include + ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include) if (NOT FUZZINGENGINE_LIB) target_link_libraries(${exe} ${libs})