Allow '.' in target names in generator expressions (#12002)

Simply add this character to the allowed list in the regular expression
used to parse generator expression components.
This commit is contained in:
Brad King committed 2011-03-22 16:26:20 -04:00
1 parent d5d661d2b2
commit 08428ba38a
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ cmGeneratorExpression::cmGeneratorExpression(
this->TargetInfo.compile("^\\$<TARGET"
"(|_SONAME|_LINKER)" // File with what purpose?
"_FILE(|_NAME|_DIR):" // Filename component.
"([A-Za-z0-9_-]+)" // Target name.
"([A-Za-z0-9_.-]+)" // Target name.
">$");
}