cmake: fix source list issues

This commit is contained in:
Renz Christian Bagaporo
2018-09-13 08:56:59 +08:00
committed by Angus Gratton
parent cf7ae4d898
commit 944014f9f2
10 changed files with 172 additions and 266 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")