mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-25 00:36:19 +00:00
ENH: make sure CMAKE_STANDARD_LIBRARIES are used
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user