diff options
author | Manuel Núñez <ianmalcom@gmail.com> | 2017-08-30 09:08:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-24 15:04:21 (GMT) |
commit | d41582fc94e823cbfbb214e08e73ad214619a71a (patch) | |
tree | 783517384bc5872622f41e32f8a7b285cce162d2 | |
parent | 7519594000cbe175107612c0c7c9cdafd0ba06b0 (diff) | |
download | CMake-d41582fc94e823cbfbb214e08e73ad214619a71a.zip CMake-d41582fc94e823cbfbb214e08e73ad214619a71a.tar.gz CMake-d41582fc94e823cbfbb214e08e73ad214619a71a.tar.bz2 |
Call GetRealPath through cmSystemTools instead of KWSys directly
This will allow a wrapper to be added to extend functionality.
-rw-r--r-- | Source/cmFilePathChecksum.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmFilePathChecksum.cxx b/Source/cmFilePathChecksum.cxx index f9afeef..f84360e 100644 --- a/Source/cmFilePathChecksum.cxx +++ b/Source/cmFilePathChecksum.cxx @@ -34,10 +34,10 @@ void cmFilePathChecksum::setupParentDirs(std::string const& currentSrcDir, std::string const& projectSrcDir, std::string const& projectBinDir) { - this->parentDirs[0].first = cmsys::SystemTools::GetRealPath(currentSrcDir); - this->parentDirs[1].first = cmsys::SystemTools::GetRealPath(currentBinDir); - this->parentDirs[2].first = cmsys::SystemTools::GetRealPath(projectSrcDir); - this->parentDirs[3].first = cmsys::SystemTools::GetRealPath(projectBinDir); + this->parentDirs[0].first = cmSystemTools::GetRealPath(currentSrcDir); + this->parentDirs[1].first = cmSystemTools::GetRealPath(currentBinDir); + this->parentDirs[2].first = cmSystemTools::GetRealPath(projectSrcDir); + this->parentDirs[3].first = cmSystemTools::GetRealPath(projectBinDir); this->parentDirs[0].second = "CurrentSource"; this->parentDirs[1].second = "CurrentBinary"; @@ -50,7 +50,7 @@ std::string cmFilePathChecksum::get(std::string const& filePath) const std::string relPath; std::string relSeed; { - std::string const fileReal = cmsys::SystemTools::GetRealPath(filePath); + std::string const fileReal = cmSystemTools::GetRealPath(filePath); std::string parentDir; // Find closest project parent directory for (auto const& pDir : this->parentDirs) { |