diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-20 22:47:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-20 22:47:12 (GMT) |
commit | 2cb68f60003d0dbe9a2f91663ebca7de3b16c8f1 (patch) | |
tree | 50ede5bb9a376c12f43fb49c4fe4af02204bb921 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 398827ebc1689f70e1e4a32a61d8d663cbbe3606 (diff) | |
download | CMake-2cb68f60003d0dbe9a2f91663ebca7de3b16c8f1.zip CMake-2cb68f60003d0dbe9a2f91663ebca7de3b16c8f1.tar.gz CMake-2cb68f60003d0dbe9a2f91663ebca7de3b16c8f1.tar.bz2 |
ENH: make sure CMAKE_STANDARD_LIBRARIES are used
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index c668ad6..d33364e 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/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; |