mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-03 07:29:52 +08:00
fix(cmake): fix issue with handling of EXCLUDE_SRCS
This commit is contained in:
@ -271,7 +271,7 @@ macro(__component_add_sources sources)
|
|||||||
if(__EXCLUDE_SRCS)
|
if(__EXCLUDE_SRCS)
|
||||||
foreach(src ${__EXCLUDE_SRCS})
|
foreach(src ${__EXCLUDE_SRCS})
|
||||||
get_filename_component(src "${src}" ABSOLUTE)
|
get_filename_component(src "${src}" ABSOLUTE)
|
||||||
list(REMOVE_ITEM source "${src}")
|
list(REMOVE_ITEM sources "${src}")
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user