Răsfoiți Sursa

install: Use case-sensitive pattern matching on Cygwin

Based on downstream patch from Cygwin package for CMake by Marco Atzeri:

* https://github.com/matzeri/cygwin-pkg/blob/64864eb8f0d635ea44226e4b9a41a7ca59a1c7dd/cmake/3.17.3-case-sensitivity.patch
Lemures Lemniscati 5 ani în urmă
părinte
comite
8edbc59e46
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmInstallCommand.cxx

+ 1 - 1
Source/cmInstallCommand.cxx

@@ -1157,7 +1157,7 @@ bool HandleDirectoryMode(std::vector<std::string> const& args,
     } else if (doing == DoingRegex) {
     } else if (doing == DoingRegex) {
       literal_args += " REGEX \"";
       literal_args += " REGEX \"";
 // Match rules are case-insensitive on some platforms.
 // Match rules are case-insensitive on some platforms.
-#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__APPLE__)
       std::string regex = cmSystemTools::LowerCase(args[i]);
       std::string regex = cmSystemTools::LowerCase(args[i]);
 #else
 #else
       std::string regex = args[i];
       std::string regex = args[i];