Skip to content

Commit

Permalink
Add missing leak detection header
Browse files Browse the repository at this point in the history
  • Loading branch information
thetic committed Oct 29, 2022
1 parent 3292edb commit 82b5997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Modules/CppUTestConfigurationOptions.cmake
Expand Up @@ -24,6 +24,7 @@ endif ()
if (NOT CPPUTEST_MEM_LEAK_DETECTION_DISABLED)
if (MSVC)
set(CPPUTEST_C_FLAGS "${CPPUTEST_C_FLAGS} /FI \"${CppUTest_SOURCE_DIR}/include/CppUTest/MemoryLeakDetectorMallocMacros.h\"")
set(CPPUTEST_CXX_FLAGS "${CPPUTEST_CXX_FLAGS} /FI \"${CppUTest_SOURCE_DIR}/include/CppUTest/MemoryLeakDetectorNewMacros.h\"")
set(CPPUTEST_CXX_FLAGS "${CPPUTEST_CXX_FLAGS} /FI \"${CppUTest_SOURCE_DIR}/include/CppUTest/MemoryLeakDetectorMallocMacros.h\"")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "IAR")
set(CPPUTEST_C_FLAGS "${CPPUTEST_C_FLAGS} --preinclude \"${CppUTest_SOURCE_DIR}/include/CppUTest/MemoryLeakDetectorMallocMacros.h\"")
Expand Down

0 comments on commit 82b5997

Please sign in to comment.