Просмотр исходного кода

CMake: quote ':' in Windows NMake Makefiles (#9963)

David Cole 15 лет назад
Родитель
Сommit
fcbdd3129e
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      Source/kwsys/System.c

+ 2 - 1
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 == ':'));
 }
 
 /*--------------------------------------------------------------------------*/