Jelajahi Sumber

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

David Cole 15 tahun lalu
induk
melakukan
fcbdd3129e
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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 == ':'));
 }
 
 /*--------------------------------------------------------------------------*/