diff options
author | Bruno Manganelli <bruno.manga95@gmail.com> | 2018-11-23 02:16:51 (GMT) |
---|---|---|
committer | Bruno Manganelli <bruno.manga95@gmail.com> | 2018-12-08 11:24:06 (GMT) |
commit | 33f08eec18b440eac1f24f6f18b971c6203307bd (patch) | |
tree | efb4e1304611ce92cd8b6312f4dffa1cad6d2045 /Source/cmLinkLineComputer.cxx | |
parent | 87e810f223bad6fb889e7ae4ad08be98461bf6e2 (diff) | |
download | CMake-33f08eec18b440eac1f24f6f18b971c6203307bd.zip CMake-33f08eec18b440eac1f24f6f18b971c6203307bd.tar.gz CMake-33f08eec18b440eac1f24f6f18b971c6203307bd.tar.bz2 |
cmOutputConverter: Moved ContainedInDirectory to cmStateDirectory
Diffstat (limited to 'Source/cmLinkLineComputer.cxx')
-rw-r--r-- | Source/cmLinkLineComputer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLinkLineComputer.cxx b/Source/cmLinkLineComputer.cxx index d756564..6643990 100644 --- a/Source/cmLinkLineComputer.cxx +++ b/Source/cmLinkLineComputer.cxx @@ -47,8 +47,7 @@ std::string cmLinkLineComputer::ConvertToLinkReference( { std::string relLib = lib; - if (cmOutputConverter::ContainedInDirectory( - this->StateDir.GetCurrentBinary(), lib, this->StateDir)) { + if (this->StateDir.ContainsBoth(this->StateDir.GetCurrentBinary(), lib)) { relLib = cmSystemTools::ForceToRelativePath( this->StateDir.GetCurrentBinary(), lib); } |