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 2011-03-22 16:25:32 -04:00
parent d5d661d2b2
commit 08428ba38a

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.
">$");
}