mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
install: Use case-sensitive pattern matching on Cygwin
Based on downstream patch from Cygwin package for CMake by Marco Atzeri:
* 64864eb8f0/cmake/3.17.3-case-sensitivity.patch
This commit is contained in:
committed by
Brad King
parent
24482499ea
commit
8edbc59e46
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user