(core): sort_include fails with multiline sight_add_target macros
Summary
If the sight_add_target()
macro is spread on multiple lines, then the parsing of the target name fails and the sort of the include might be wrong.
Steps to reproduce
Try tp reformat the file SPdfWriter.cpp on the branch cmake-lint-fix.
Possible fixes
Fix the regex and consider the multiline case.