diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 10:12:10 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-04 22:32:20 +0200 |
commit | de211686122166e7485a98fd027bd1d32fda40b0 (patch) | |
tree | 89024f8c8cc52cf751520faa7ac8e97eb301c2ef /Source/cmGlobalNinjaGenerator.cxx | |
parent | 13981f20688279b4e10faca67b7020946c9ef733 (diff) | |
download | cmake-de211686122166e7485a98fd027bd1d32fda40b0.tar.gz |
Port to static cmPolicies API.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 074c4d1418..678d60b216 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1103,9 +1103,7 @@ void cmGlobalNinjaGenerator::WriteUnknownExplicitDependencies(std::ostream& os) if (!warnExplicitDepends.empty()) { std::ostringstream w; - w << - (this->GetCMakeInstance()->GetPolicies()-> - GetPolicyWarning(cmPolicies::CMP0058)) << "\n" + w << cmPolicies::GetPolicyWarning(cmPolicies::CMP0058) << "\n" "This project specifies custom command DEPENDS on files " "in the build tree that are not specified as the OUTPUT or " "BYPRODUCTS of any add_custom_command or add_custom_target:\n" |