BUG: Check for whether to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and WIN32_EXECUTABLE targets.
This commit is contained in:
parent
da623cd0b4
commit
c056415593
|
@ -383,7 +383,8 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
|||
}
|
||||
|
||||
std::string extraLinkOptions;
|
||||
if(target.GetType() == cmTarget::EXECUTABLE)
|
||||
if((target.GetType() == cmTarget::EXECUTABLE) ||
|
||||
(target.GetType() == cmTarget::WIN32_EXECUTABLE))
|
||||
{
|
||||
extraLinkOptions = m_Makefile->GetDefinition("CMAKE_EXE_LINKER_FLAGS");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue