summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-23 20:26:21 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-23 20:26:21 (GMT)
commit71b57bc4541b12bf874028f15e557c053e5b0b72 (patch)
tree3419045422153b93b93042b13eca0f60c12edfc9 /Source/cmLocalVisualStudio6Generator.cxx
parentaff8c7bcd6fe751974c2e82147d1a29928236209 (diff)
downloadCMake-71b57bc4541b12bf874028f15e557c053e5b0b72.zip
CMake-71b57bc4541b12bf874028f15e557c053e5b0b72.tar.gz
CMake-71b57bc4541b12bf874028f15e557c053e5b0b72.tar.bz2
BUG: fix for bug 769 CMAKE_STANDARD_LIBRARIES now used in ides
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 544b09c..bc9fe68 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -955,7 +955,18 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha
libMultiLineOptionsForDebug += extraLinkOptions;
libMultiLineOptionsForDebug += " \n";
}
-
+ if(const char* stdLibs = m_Makefile->GetDefinition("CMAKE_STANDARD_LIBRARIES"))
+ {
+ libOptions += " ";
+ libOptions += stdLibs;
+ libOptions += " ";
+ libMultiLineOptions += "# ADD LINK32 ";
+ libMultiLineOptions += stdLibs;
+ libMultiLineOptions += " \n";
+ libMultiLineOptionsForDebug += "# ADD LINK32 ";
+ libMultiLineOptionsForDebug += stdLibs;
+ libMultiLineOptionsForDebug += " \n";
+ }
if(const char* targetLinkFlags = target.GetProperty("LINK_FLAGS"))
{
libOptions += " ";