Use backslashes in VS 10 library dependencies

The list of libraries to be linked into the current target must be
specified using windows slashes to that UNC paths such as

  \\server\share\somelibrary.lib

work correctly.  See issue #9917.
This commit is contained in:
Brad King 2009-11-18 16:14:36 -05:00
parent c7b0dbb3fc
commit 5ca6f158d4
1 changed files with 1 additions and 0 deletions

View File

@ -1222,6 +1222,7 @@ void cmVisualStudio10TargetGenerator::AddLibraries(
Convert(l->Value.c_str(),
cmLocalGenerator::START_OUTPUT,
cmLocalGenerator::UNCHANGED);
this->ConvertToWindowsSlash(path);
libstring += sep;
libstring += path;
}