diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-09-06 21:02:23 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:13 (GMT) |
commit | 34c6e995f9ac1c62540b68dd50934c8c0be98b7f (patch) | |
tree | d68b3f9c23b61a112f41cf3f6a8f2338f5cf03cb /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 839c65bca032b80cfa7fe0de2ad35c2448421092 (diff) | |
download | CMake-34c6e995f9ac1c62540b68dd50934c8c0be98b7f.zip CMake-34c6e995f9ac1c62540b68dd50934c8c0be98b7f.tar.gz CMake-34c6e995f9ac1c62540b68dd50934c8c0be98b7f.tar.bz2 |
Convert: Avoid HOME_OUTPUT enum when converting to relative paths
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 5a98e34..d1be0c7 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)->GetCurrentBinaryDirectory(), cmOutputConverter::HOME_OUTPUT); + (*it)->GetBinaryDirectory(), (*it)->GetCurrentBinaryDirectory()); if (subdir == ".") { subdir = ""; } |