summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-04-23 13:18:10 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-04-23 16:46:58 (GMT)
commitb45976fe104902ed7f0495e0e4c822684a4455e7 (patch)
tree5fd9cbea65dcfc5e46246f54043c8d98559e3c53 /Source/cmNinjaTargetGenerator.cxx
parent8c00f5ef0a29758c56fa46a11e150b0e0f5c364e (diff)
downloadCMake-b45976fe104902ed7f0495e0e4c822684a4455e7.zip
CMake-b45976fe104902ed7f0495e0e4c822684a4455e7.tar.gz
CMake-b45976fe104902ed7f0495e0e4c822684a4455e7.tar.bz2
Ninja: Remove config suffix from order-only target
Fixes: #20621
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index abf12f8..486ed8d 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -142,7 +142,7 @@ bool cmNinjaTargetGenerator::NeedDyndep(std::string const& lang) const
std::string cmNinjaTargetGenerator::OrderDependsTargetForTarget(
const std::string& config)
{
- return cmGlobalNinjaGenerator::OrderDependsTargetForTarget(
+ return this->GetGlobalGenerator()->OrderDependsTargetForTarget(
this->GeneratorTarget, config);
}