summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLineComputer.cxx
diff options
context:
space:
mode:
authorBruno Manganelli <bruno.manga95@gmail.com>2018-11-23 01:38:29 (GMT)
committerBruno Manganelli <bruno.manga95@gmail.com>2018-12-07 19:29:30 (GMT)
commit87e810f223bad6fb889e7ae4ad08be98461bf6e2 (patch)
tree07ad1b190e0bfe2240a2e534195973e44426d913 /Source/cmLinkLineComputer.cxx
parent99a224e3ee0b6a770c388313a7b32746a95514e8 (diff)
downloadCMake-87e810f223bad6fb889e7ae4ad08be98461bf6e2.zip
CMake-87e810f223bad6fb889e7ae4ad08be98461bf6e2.tar.gz
CMake-87e810f223bad6fb889e7ae4ad08be98461bf6e2.tar.bz2
cmOutputConverter: Moved ForceToRelativePath to cmSystem
Diffstat (limited to 'Source/cmLinkLineComputer.cxx')
-rw-r--r--Source/cmLinkLineComputer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLinkLineComputer.cxx b/Source/cmLinkLineComputer.cxx
index 7511fd2..d756564 100644
--- a/Source/cmLinkLineComputer.cxx
+++ b/Source/cmLinkLineComputer.cxx
@@ -11,6 +11,7 @@
#include "cmOutputConverter.h"
#include "cmStateDirectory.h"
#include "cmStateTypes.h"
+#include "cmSystemTools.h"
cmLinkLineComputer::cmLinkLineComputer(cmOutputConverter* outputConverter,
cmStateDirectory const& stateDir)
@@ -48,7 +49,7 @@ std::string cmLinkLineComputer::ConvertToLinkReference(
if (cmOutputConverter::ContainedInDirectory(
this->StateDir.GetCurrentBinary(), lib, this->StateDir)) {
- relLib = cmOutputConverter::ForceToRelativePath(
+ relLib = cmSystemTools::ForceToRelativePath(
this->StateDir.GetCurrentBinary(), lib);
}
return relLib;