From d2cabf2030eb81bfc906eefe306e3dbe326f6cd1 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 ca3c6795df..baa5ad903c 100644 --- a/programs/fuzz/CMakeLists.txt +++ b/programs/fuzz/CMakeLists.txt @@ -41,7 +41,8 @@ foreach(exe IN LISTS executables_no_common_c executables_with_common_c) add_executable(${exe} ${exe_sources}) set_base_compile_options(${exe}) - 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})