diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 13:26:37 (GMT) |
commit | 08be47cf939c3adfe653809c46c7b23b7a912a39 (patch) | |
tree | da3855ef19ce4cabfa7261c178b61759b2104b09 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 564d3a1dc8e19f16db6ddccca38e21d89634c1b4 (diff) | |
download | CMake-08be47cf939c3adfe653809c46c7b23b7a912a39.zip CMake-08be47cf939c3adfe653809c46c7b23b7a912a39.tar.gz CMake-08be47cf939c3adfe653809c46c7b23b7a912a39.tar.bz2 |
Convert: Replace UNCHANGED conversions with new API call
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 1b1d04b..216de03 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2416,9 +2416,8 @@ void cmVisualStudio10TargetGenerator::AddLibraries( ItemVector libs = cli.GetItems(); for (ItemVector::const_iterator l = libs.begin(); l != libs.end(); ++l) { if (l->IsPath) { - std::string path = this->LocalGenerator->Convert( - l->Value.c_str(), cmOutputConverter::START_OUTPUT, - cmOutputConverter::UNCHANGED); + std::string path = this->LocalGenerator->ConvertToRelativePath( + l->Value.c_str(), cmOutputConverter::START_OUTPUT); this->ConvertToWindowsSlash(path); libVec.push_back(path); } else if (!l->Target || |