diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-16 21:08:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-17 08:29:49 (GMT) |
commit | 8d47a20f131147d4cf38e63df0c382ec5844a833 (patch) | |
tree | 7dd89d5d44f2ad2efa727d46ebdc763ae3a36fea /Source/cmOutputConverter.cxx | |
parent | 149af87b86362449a99301860af5aac1a3b4b20c (diff) | |
download | CMake-8d47a20f131147d4cf38e63df0c382ec5844a833.zip CMake-8d47a20f131147d4cf38e63df0c382ec5844a833.tar.gz CMake-8d47a20f131147d4cf38e63df0c382ec5844a833.tar.bz2 |
cmOutputConverter: use new ConvertToRelativePath signature internally
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r-- | Source/cmOutputConverter.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index e6aaed1..ae7c583 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -54,21 +54,19 @@ std::string cmOutputConverter::ConvertToRelativePath( switch (relative) { case HOME: result = this->ConvertToRelativePath( - this->GetState()->GetSourceDirectoryComponents(), source); + this->GetState()->GetSourceDirectory(), source); break; case START: result = this->ConvertToRelativePath( - this->StateSnapshot.GetDirectory().GetCurrentSourceComponents(), - source); + this->StateSnapshot.GetDirectory().GetCurrentSource(), source); break; case HOME_OUTPUT: result = this->ConvertToRelativePath( - this->GetState()->GetBinaryDirectoryComponents(), source); + this->GetState()->GetBinaryDirectory(), source); break; case START_OUTPUT: result = this->ConvertToRelativePath( - this->StateSnapshot.GetDirectory().GetCurrentBinaryComponents(), - source); + this->StateSnapshot.GetDirectory().GetCurrentBinary(), source); break; } return result; |