From c0564155936cb8f1f314aaab724573153b997ef4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 24 Sep 2003 11:03:14 -0400 Subject: BUG: Check for whether to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and WIN32_EXECUTABLE targets. --- Source/cmLocalVisualStudio7Generator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } -- cgit v0.12