summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-18 21:14:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-18 21:14:36 (GMT)
commit5ca6f158d4c54611ae602490da93c8c00dfbe7d4 (patch)
tree48619588f7a7901695a73a924a7d6ec7e86fdba9
parentc7b0dbb3fcd3c94b89dcc3764034e4da747cd7b2 (diff)
downloadCMake-5ca6f158d4c54611ae602490da93c8c00dfbe7d4.zip
CMake-5ca6f158d4c54611ae602490da93c8c00dfbe7d4.tar.gz
CMake-5ca6f158d4c54611ae602490da93c8c00dfbe7d4.tar.bz2
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.
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 32fcead..17d1685 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1222,6 +1222,7 @@ void cmVisualStudio10TargetGenerator::AddLibraries(
Convert(l->Value.c_str(),
cmLocalGenerator::START_OUTPUT,
cmLocalGenerator::UNCHANGED);
+ this->ConvertToWindowsSlash(path);
libstring += sep;
libstring += path;
}