mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
Ninja: replace \ in LINK_PATH for MinGW
This commit is contained in:
1 parent
99514c7e9c
commit
504bb62d99
1 file changed
+2
@@ -523,6 +523,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||
// ar.exe can't handle backslashes in rsp files (implicitly used by gcc)
|
||||
std::string& linkLibraries = vars["LINK_LIBRARIES"];
|
||||
std::replace(linkLibraries.begin(), linkLibraries.end(), '\\', '/');
|
||||
std::string& link_path = vars["LINK_PATH"];
|
||||
std::replace(link_path.begin(), link_path.end(), '\\', '/');
|
||||
}
|
||||
|
||||
const std::vector<cmCustomCommand> *cmdLists[3] = {
|
||||
|
||||
Reference in new issue
Block a user