diff options
author | Bruno Manganelli <bruno.manga95@gmail.com> | 2018-11-23 01:38:29 (GMT) |
---|---|---|
committer | Bruno Manganelli <bruno.manga95@gmail.com> | 2018-12-07 19:29:30 (GMT) |
commit | 87e810f223bad6fb889e7ae4ad08be98461bf6e2 (patch) | |
tree | 07ad1b190e0bfe2240a2e534195973e44426d913 /Source/cmLinkLineComputer.cxx | |
parent | 99a224e3ee0b6a770c388313a7b32746a95514e8 (diff) | |
download | CMake-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.cxx | 3 |
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; |