diff --git a/.template_files/modules/TestCMakeLists.txt b/.template_files/modules/TestCMakeLists.txt index c8df144..64f9179 100644 --- a/.template_files/modules/TestCMakeLists.txt +++ b/.template_files/modules/TestCMakeLists.txt @@ -8,8 +8,3 @@ target_link_libraries(test_module_name ${CPPUTEST_LIBRARIES}/libCppUTestExt.a module_name ) - -target_include_directories(test_module_name - module_name -) - diff --git a/.template_files/modules/test_module_name.cpp b/.template_files/modules/test_module_name.cpp index dfe1663..d06f275 100644 --- a/.template_files/modules/test_module_name.cpp +++ b/.template_files/modules/test_module_name.cpp @@ -7,7 +7,7 @@ #include "CppUTest/CommandLineTestRunner.h" -extern C +extern "C" { #include "module_name.h" }