diff options
author | Brad King <brad.king@kitware.com> | 2014-04-15 14:22:24 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-04-15 14:22:24 (GMT) |
commit | cb101b95f9b87410ae9b2b91fed716a268c81b7f (patch) | |
tree | f95c6179a82c20279ceb6b675a7f5d408f162db4 /Source | |
parent | 851a202d33926222d6e32251c1f1b2bb49a9d1af (diff) | |
parent | 504bb62d9918e7cc57746f26d96ba705c7d701ca (diff) | |
download | CMake-cb101b95f9b87410ae9b2b91fed716a268c81b7f.zip CMake-cb101b95f9b87410ae9b2b91fed716a268c81b7f.tar.gz CMake-cb101b95f9b87410ae9b2b91fed716a268c81b7f.tar.bz2 |
Merge topic 'ninja-win-link-path'
504bb62d Ninja: replace \ in LINK_PATH for MinGW
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index c865617..73e36b0 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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] = { |