diff options
author | Brad King <brad.king@kitware.com> | 2017-06-01 17:59:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-01 18:00:58 (GMT) |
commit | 6a42b9609f1d0a047394a8d63fb8ddb803abce34 (patch) | |
tree | 4340b346867a0939b37f0ad3c6727e2ee5ce0b15 /Source | |
parent | 860db083cafb1337147923f7dd21b57767abbee3 (diff) | |
parent | 82badfffc34f043521ff3314047a3831e0fb17c7 (diff) | |
download | CMake-6a42b9609f1d0a047394a8d63fb8ddb803abce34.zip CMake-6a42b9609f1d0a047394a8d63fb8ddb803abce34.tar.gz CMake-6a42b9609f1d0a047394a8d63fb8ddb803abce34.tar.bz2 |
Merge topic 'ninja-mingw'
82badfff Ninja: Fix CMP0058 on MinGW
c5ff50fc Tests: Fix CustomCommandByproducts regex for phony rules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !919
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 39f5d8f..bb0b83a 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -209,7 +209,7 @@ void cmGlobalNinjaGenerator::WriteBuild( ++i) { build += " " + EncodeIdent(EncodePath(*i), os); if (this->ComputingUnknownDependencies) { - this->CombinedBuildOutputs.insert(EncodePath(*i)); + this->CombinedBuildOutputs.insert(*i); } } if (!implicitOuts.empty()) { @@ -311,7 +311,7 @@ void cmGlobalNinjaGenerator::WriteCustomCommandBuild( // we need to track every dependency that comes in, since we are trying // to find dependencies that are side effects of build commands for (cmNinjaDeps::const_iterator i = deps.begin(); i != deps.end(); ++i) { - this->CombinedCustomCommandExplicitDependencies.insert(EncodePath(*i)); + this->CombinedCustomCommandExplicitDependencies.insert(*i); } } } |