function(find_source_group LINES NAME)
set(foundFileFilter 0)
set(foundFilter 0)
string(REPLACE "\\" "\\\\" regexName "${NAME}")
foreach(line IN LISTS LINES)
if(line MATCHES "${regexName}")
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 "