From 4c4e0864f2d1b6e96872ff58a489f3001eb32e72 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Mon, 4 Nov 2024 14:16:30 +0000 Subject: [PATCH] Add the framework/tests/include path to testsuites These need to include from the framework path as this is where most test helpers have been moved to. Signed-off-by: David Horstmann --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1eb5e3b0b..c13d6439b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -318,6 +318,7 @@ function(add_test_suite suite_name) # them as PUBLIC. target_include_directories(test_suite_${data_name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../framework/tests/include PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../library) # Request C11, which is needed for memory poisoning tests set_target_properties(test_suite_${data_name} PROPERTIES C_STANDARD 11)