mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
COMP: Fix compile problem on windows and mac
This commit is contained in:
@@ -2442,8 +2442,8 @@ std::string SystemTools::RelativePath(const char* local, const char* remote)
|
||||
&&
|
||||
// for windows and apple do a case insensitive string compare
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
cmSystemTools::Strucmp(localSplit[sameCount].c_str(),
|
||||
remoteSplit[sameCount].c_str()) == 0
|
||||
SystemTools::Strucmp(localSplit[sameCount].c_str(),
|
||||
remoteSplit[sameCount].c_str()) == 0
|
||||
#else
|
||||
localSplit[sameCount] == remoteSplit[sameCount]
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user