mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
COMP: Fix compile problem on windows and mac
This commit is contained in:
1 parent
9740913dd8
commit
2ed1ca11bc
1 file changed
+2
-2
@@ -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