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:
parent
d5d661d2b2
commit
08428ba38a
|
@ -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.
|
||||
">$");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue