summaryrefslogtreecommitdiff
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-13 21:20:25 +0200
committerBrad King <brad.king@kitware.com>2015-04-15 11:43:50 -0400
commit0076b5d8340be81057195e70853d33e8fb66c1db (patch)
tree52950ce2a6ba668dc111b65f9d3dd72d5213fed7 /Source/cmExtraEclipseCDT4Generator.cxx
parent24b7f31d3a2a464cef5955648e4a152a19d44890 (diff)
downloadcmake-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/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index 35b70e8f06..16d5119489 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -470,7 +470,7 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
}
if (const char *extraNaturesProp = mf->GetCMakeInstance()->
- GetProperty("ECLIPSE_EXTRA_NATURES", cmProperty::GLOBAL))
+ GetProperty("ECLIPSE_EXTRA_NATURES"))
{
std::vector<std::string> extraNatures;
cmSystemTools::ExpandListArgument(extraNaturesProp, extraNatures);