summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <David.Cole@kitware.com>2010-09-08 22:41:21 (GMT)
committerDavid Cole <David.Cole@kitware.com>2010-09-08 22:50:03 (GMT)
commitfcbdd3129e7edec4b07f96662aa21371d671cb83 (patch)
tree13db9595951b79d92419293bf42867de5074e2dc
parentf444b9555f87ec187bff51d48cd29c22ab4a6121 (diff)
downloadCMake-fcbdd3129e7edec4b07f96662aa21371d671cb83.zip
CMake-fcbdd3129e7edec4b07f96662aa21371d671cb83.tar.gz
CMake-fcbdd3129e7edec4b07f96662aa21371d671cb83.tar.bz2
CMake: quote ':' in Windows NMake Makefiles (#9963)
-rw-r--r--Source/kwsys/System.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/System.c b/Source/kwsys/System.c
index 5d178bf..99d5c05 100644
--- a/Source/kwsys/System.c
+++ b/Source/kwsys/System.c
@@ -84,7 +84,8 @@ static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
static int kwsysSystem_Shell__CharNeedsQuotesOnWindows(char c)
{
return ((c == '\'') || (c == '#') || (c == '&') ||
- (c == '<') || (c == '>') || (c == '|') || (c == '^'));
+ (c == '<') || (c == '>') || (c == '|') ||
+ (c == '^') || (c == ':'));
}
/*--------------------------------------------------------------------------*/