heap: Compile heap_task_info.c conditionally on CONFIG_HEAP_TASK_TRACKING in heap CMakeLists.txt
Merges https://github.com/espressif/esp-idf/pull/2498
This commit is contained in:
parent
288d9b75e9
commit
b358581ab8
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ if(NOT CONFIG_HEAP_POISONING_DISABLED)
|
|||
list(APPEND COMPONENT_SRCS "multi_heap_poisoning.c")
|
||||
endif()
|
||||
|
||||
if(CONFIG_HEAP_TASK_TRACKING)
|
||||
list(APPEND COMPONENT_SRCS "heap_task_info.c")
|
||||
endif()
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||
|
||||
set(COMPONENT_REQUIRES "")
|
||||
|
|
Loading…
Reference in a new issue