mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
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:
@@ -1222,6 +1222,7 @@ void cmVisualStudio10TargetGenerator::AddLibraries(
|
||||
Convert(l->Value.c_str(),
|
||||
cmLocalGenerator::START_OUTPUT,
|
||||
cmLocalGenerator::UNCHANGED);
|
||||
this->ConvertToWindowsSlash(path);
|
||||
libstring += sep;
|
||||
libstring += path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user