Browse Source

ENH: make sure CMAKE_STANDARD_LIBRARIES are used

Bill Hoffman 19 years ago
parent
commit
2cb68f6000
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmLocalVisualStudio7Generator.cxx

+ 3 - 1
Source/cmLocalVisualStudio7Generator.cxx

@@ -789,7 +789,9 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
     // Use the NOINHERIT macro to avoid getting VS project default
     // libraries which may be set by the user to something bad.
     fout << "\"\n"
-         << "\t\t\t\tAdditionalDependencies=\"$(NOINHERIT) ";
+         << "\t\t\t\tAdditionalDependencies=\"$(NOINHERIT) "
+         << m_Makefile->GetRequiredDefinition("CMAKE_STANDARD_LIBRARIES") 
+         << " ";
     this->OutputLibraries(fout, linkLibs);
     fout << "\"\n";
     temp = m_LibraryOutputPath;