cmCreateTestSourceList: avoid generating duplicate declarations
This avoids warnings with clang-tidy
's
-readability-redundant-declaration
lint in generated source code.
This avoids warnings with clang-tidy
's
-readability-redundant-declaration
lint in generated source code.