summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-09-24 15:03:14 (GMT)
committerBrad King <brad.king@kitware.com>2003-09-24 15:03:14 (GMT)
commitc0564155936cb8f1f314aaab724573153b997ef4 (patch)
tree40d30d3d1f7d344f2e37c00424d54caa6051e0e5
parentda623cd0b4d828ab0a6a42fa0540cb72047eb808 (diff)
downloadCMake-c0564155936cb8f1f314aaab724573153b997ef4.zip
CMake-c0564155936cb8f1f314aaab724573153b997ef4.tar.gz
CMake-c0564155936cb8f1f314aaab724573153b997ef4.tar.bz2
BUG: Check for whether to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and WIN32_EXECUTABLE targets.
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 979e4d9..6fdbe17 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -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");
}