diff options
author | Lemures Lemniscati <lemures.lemniscati@gmail.com> | 2020-08-01 21:21:22 +0900 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-06 12:36:38 -0400 |
commit | 8edbc59e4655cb791328d27a76f37d0c8a2973ac (patch) | |
tree | 3f42d66fa42ccad72df90651b12c125f3f9d1ca5 /Source/cmInstallCommand.cxx | |
parent | 24482499ea5cfc1a55015456dada84da5124b3cd (diff) | |
download | cmake-8edbc59e4655cb791328d27a76f37d0c8a2973ac.tar.gz |
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
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index ddd6c2200a..83609e26f8 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -1157,7 +1157,7 @@ bool HandleDirectoryMode(std::vector<std::string> const& args, } else if (doing == DoingRegex) { literal_args += " REGEX \""; // 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]); #else std::string regex = args[i]; |