cmake: fix source list issues

This commit is contained in:
Renz Christian Bagaporo
2018-09-13 08:56:59 +08:00
committed by Renz Bagaporo
parent 533c5e98e8
commit bc8540fec1
7 changed files with 19 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ set(COMPONENT_SRCS "heap_caps.c"
"multi_heap.c")
if(NOT CONFIG_HEAP_POISONING_DISABLED)
set(COMPONENT_SRCS ${COMPONENT_SRCS} multi_heap_poisoning.c)
list(APPEND COMPONENT_SRCS "multi_heap_poisoning.c")
endif()
set(COMPONENT_ADD_INCLUDEDIRS "include")