ENH: make sure CMAKE_STANDARD_LIBRARIES are used

This commit is contained in:
Bill Hoffman 2006-02-20 17:47:12 -05:00
parent 398827ebc1
commit 2cb68f6000
1 changed files with 3 additions and 1 deletions

View File

@ -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;