mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
BUG: add linker flags for modules
This commit is contained in:
parent
961fb56029
commit
25f9b28e28
@ -809,6 +809,10 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha
|
||||
{
|
||||
extraLinkOptions = m_Makefile->GetDefinition("CMAKE_SHARED_LINKER_FLAGS");
|
||||
}
|
||||
if(target.GetType() == cmTarget::MODULE_LIBRARY)
|
||||
{
|
||||
extraLinkOptions = m_Makefile->GetDefinition("CMAKE_MODULE_LINKER_FLAGS");
|
||||
}
|
||||
|
||||
if(extraLinkOptions.size())
|
||||
{
|
||||
@ -853,6 +857,7 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha
|
||||
customRuleCode.c_str());
|
||||
cmSystemTools::ReplaceString(line, "CMAKE_MFC_FLAG",
|
||||
mfcFlag);
|
||||
|
||||
cmSystemTools::ReplaceString(line, "CM_LIBRARIES",
|
||||
libOptions.c_str());
|
||||
cmSystemTools::ReplaceString(line, "CM_DEBUG_LIBRARIES",
|
||||
|
Loading…
Reference in New Issue
Block a user