summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-06-08 13:32:14 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-08 13:32:14 (GMT)
commitc984bf668bb46aa335c61d54c3fe62ef3fae20a9 (patch)
treeca82929e856f4c4caad76777ae4816082d6cc4c4
parente446d71d31bfb7f089f2576d8e2a5c93d6ee5312 (diff)
parent88365838b843ec4452d1f282b5ce23b2b3d6590d (diff)
downloadCMake-c984bf668bb46aa335c61d54c3fe62ef3fae20a9.zip
CMake-c984bf668bb46aa335c61d54c3fe62ef3fae20a9.tar.gz
CMake-c984bf668bb46aa335c61d54c3fe62ef3fae20a9.tar.bz2
Merge branch 'ninja-win-rsp' into release-3.12
Merge-request: !2136
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index a4d3e06..7394188 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -719,9 +719,9 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkStatement()
static_cast<int>(cmSystemTools::CalculateCommandLineLengthLimit()) -
globalGen.GetRuleCmdLength(this->LanguageLinkerDeviceRule());
- const std::string rspfile =
+ const std::string rspfile = this->ConvertToNinjaPath(
std::string(cmake::GetCMakeFilesDirectoryPostSlash()) +
- genTarget.GetName() + ".rsp";
+ genTarget.GetName() + ".rsp");
// Gather order-only dependencies.
cmNinjaDeps orderOnlyDeps;
@@ -1005,9 +1005,9 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
globalGen.GetRuleCmdLength(this->LanguageLinkerRule());
}
- const std::string rspfile =
+ const std::string rspfile = this->ConvertToNinjaPath(
std::string(cmake::GetCMakeFilesDirectoryPostSlash()) + gt.GetName() +
- ".rsp";
+ ".rsp");
// Gather order-only dependencies.
cmNinjaDeps orderOnlyDeps;