diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-13 21:20:25 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 11:43:50 -0400 |
commit | 0076b5d8340be81057195e70853d33e8fb66c1db (patch) | |
tree | 52950ce2a6ba668dc111b65f9d3dd72d5213fed7 /Source/cmLocalNinjaGenerator.cxx | |
parent | 24b7f31d3a2a464cef5955648e4a152a19d44890 (diff) | |
download | cmake-0076b5d8340be81057195e70853d33e8fb66c1db.tar.gz |
cmake: Remove the happy global property scope pattern.
Global properties are already global in scope, so remove the
overload for specifying it and port users of the API.
The call from cmMakefile::GetProperty can be simplified because
the scope is only used during chaining, and there is no further
chaining after processing global properties.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index 640c1b3677..124e849fe6 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -234,8 +234,7 @@ void cmLocalNinjaGenerator::WritePools(std::ostream& os) { cmGlobalNinjaGenerator::WriteDivider(os); - const char* jobpools = this->GetCMakeInstance() - ->GetProperty("JOB_POOLS", cmProperty::GLOBAL); + const char* jobpools = this->GetCMakeInstance()->GetProperty("JOB_POOLS"); if (jobpools) { cmGlobalNinjaGenerator::WriteComment(os, |