function(find_source_group LINES NAME)
set(foundFileFilter 0)
set(foundFilter 0)
foreach(line IN LISTS LINES)
if(line MATCHES "${NAME}")
if(foundFileFilter)
set(RunCMake_TEST_FAILED "Multiple files listed with filter for ${NAME}." PARENT_SCOPE)
set(FILTER_FOUND 0 PARENT_SCOPE)
return()
endif()
set(foundFileFilter 1)
endif()
if(line MATCHES "