fix(cmake): fix issue with handling of EXCLUDE_SRCS
@@ -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()
