fixed issue with external linkage of "C" files

This commit is contained in:
jakeg00dwin 2024-03-20 16:10:10 -07:00
parent 92b16a0244
commit e4a6978b57
2 changed files with 1 additions and 6 deletions

View File

@ -8,8 +8,3 @@ target_link_libraries(test_module_name
${CPPUTEST_LIBRARIES}/libCppUTestExt.a ${CPPUTEST_LIBRARIES}/libCppUTestExt.a
module_name module_name
) )
target_include_directories(test_module_name
module_name
)

View File

@ -7,7 +7,7 @@
#include "CppUTest/CommandLineTestRunner.h" #include "CppUTest/CommandLineTestRunner.h"
extern C extern "C"
{ {
#include "module_name.h" #include "module_name.h"
} }