summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-22 20:25:32 (GMT)
committerBrad King <brad.king@kitware.com>2011-03-22 20:26:20 (GMT)
commit08428ba38aa0c11567cd795322533138e66553c4 (patch)
tree3f6a08412fa9794cc7be4067b3ea9d3ca97476eb /Source/cmGeneratorExpression.cxx
parentd5d661d2b259447edfc89d130878f3a9b2203ea1 (diff)
downloadCMake-08428ba38aa0c11567cd795322533138e66553c4.zip
CMake-08428ba38aa0c11567cd795322533138e66553c4.tar.gz
CMake-08428ba38aa0c11567cd795322533138e66553c4.tar.bz2
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.
Diffstat (limited to 'Source/cmGeneratorExpression.cxx')
-rw-r--r--Source/cmGeneratorExpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index 8710dfc..f88ab0b 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -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.
">$");
}