mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: fix issue with handling of EXCLUDE_SRCS
This commit is contained in:
parent
14608cc0fb
commit
1248f17749
@ -271,7 +271,7 @@ macro(__component_add_sources sources)
|
||||
if(__EXCLUDE_SRCS)
|
||||
foreach(src ${__EXCLUDE_SRCS})
|
||||
get_filename_component(src "${src}" ABSOLUTE)
|
||||
list(REMOVE_ITEM source "${src}")
|
||||
list(REMOVE_ITEM sources "${src}")
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
@ -551,4 +551,4 @@ endfunction()
|
||||
# Wrapper around target_compile_definitions that passes the component name
|
||||
function(component_compile_definitions)
|
||||
target_compile_definitions(${COMPONENT_LIB} PRIVATE ${ARGV})
|
||||
endfunction()
|
||||
endfunction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user