File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949#include "printf_config.h"
5050#endif
5151
52- #include " printf.h"
52+ #include < printf/printf.h>
5353
5454#if PRINTF_ALIAS_STANDARD_FUNCTION_NAMES
5555# define printf_ printf
Original file line number Diff line number Diff line change @@ -72,7 +72,12 @@ endforeach()
7272# compiled library - it includes the library's source .c file; and that means we
7373# need to include the generated config.h file.
7474target_compile_definitions (test_suite PRIVATE PRINTF_INCLUDE_CONFIG_H )
75- target_include_directories (test_suite PRIVATE "${GENERATED_INCLUDE_DIR} " )
75+ target_include_directories (
76+ test_suite
77+ PRIVATE
78+ "${GENERATED_INCLUDE_DIR} "
79+ "$<BUILD_INTERFACE :${CMAKE_CURRENT_LIST_DIR} /../src />"
80+ )
7681add_test (
7782 NAME "${PROJECT_NAME} .test_suite"
7883 COMMAND "test_suite" # ${TEST_RUNNER_PARAMS}
You can’t perform that action at this time.
0 commit comments