From ff0e6b067fa5cc879a6fffbaa27521a7d37ede45 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 28 Mar 2024 15:57:12 +0000 Subject: [PATCH] Update references to tests/include in CMakeLists tests/CMakeLists.txt now refers correctly to framework/include rather than tests/include. Signed-off-by: David Horstmann --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 589643a806..b8184d586e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -245,12 +245,12 @@ function(add_test_suite suite_name) $) add_dependencies(test_suite_${data_name} ${dependency}) target_link_libraries(test_suite_${data_name} ${libs}) - # Include test-specific header files from ./include and private header - # files (used by some invasive tests) from ../library. Public header + # Include test-specific header files from ../framework/include and private + # header files (used by some invasive tests) from ../library. Public header # files are automatically included because the library targets declare # them as PUBLIC. target_include_directories(test_suite_${data_name} - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../framework/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)