summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputConverter.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-16 21:08:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-09-17 08:29:49 (GMT)
commit8d47a20f131147d4cf38e63df0c382ec5844a833 (patch)
tree7dd89d5d44f2ad2efa727d46ebdc763ae3a36fea /Source/cmOutputConverter.cxx
parent149af87b86362449a99301860af5aac1a3b4b20c (diff)
downloadCMake-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.cxx10
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;