summaryrefslogtreecommitdiff
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-09-06 23:29:01 +0200
committerStephen Kelly <steveire@gmail.com>2016-09-19 21:36:13 +0200
commite13e519e1c3f76b826365b5fa72a50dba180c191 (patch)
tree85e9c3d6c9fb959d1dfe5093aba5c0fdf09ccfc9 /Source/cmExtraEclipseCDT4Generator.cxx
parent34c6e995f9ac1c62540b68dd50934c8c0be98b7f (diff)
downloadcmake-e13e519e1c3f76b826365b5fa72a50dba180c191.tar.gz
Convert: Move access to BinaryDirectory out of loops
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 d1be0c7676..61f2851069 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -914,7 +914,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
const std::vector<cmGeneratorTarget*> targets =
(*it)->GetGeneratorTargets();
std::string subdir = (*it)->ConvertToRelativePath(
- (*it)->GetBinaryDirectory(), (*it)->GetCurrentBinaryDirectory());
+ this->HomeOutputDirectory, (*it)->GetCurrentBinaryDirectory());
if (subdir == ".") {
subdir = "";
}