From 5ca6f158d4c54611ae602490da93c8c00dfbe7d4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Nov 2009 16:14:36 -0500 Subject: 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. --- Source/cmVisualStudio10TargetGenerator.cxx | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v0.12