mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-09 23:44:00 +03:00
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:
1 parent
d5d661d2b2
commit
08428ba38a
1 file changed
+1
-1
@@ -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.
|
||||
">$");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user