mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
BUG: Check for whether to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and WIN32_EXECUTABLE targets.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user