From 827ec6e39a1a6e30fc41e13cdf3470a530ec404c Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 22 May 2001 20:36:54 -0400 Subject: Seems to me that EXEWinHeader was not searched in the right place. --- Source/cmDSPMakefile.cxx | 8 ++++---- Source/cmDSPWriter.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx index 9913a14..8aa412d 100644 --- a/Source/cmDSPMakefile.cxx +++ b/Source/cmDSPMakefile.cxx @@ -393,10 +393,10 @@ void cmDSPMakefile::SetBuildType(BuildType b, const char *libName) m_DSPFooterTemplate += "/EXEFooter.dsptemplate"; break; case WIN32_EXECUTABLE: - m_DSPHeaderTemplate = m_Makefile->GetHomeDirectory(); - m_DSPHeaderTemplate += "/CMake/Source/EXEWinHeader.dsptemplate"; - m_DSPFooterTemplate = m_Makefile->GetHomeDirectory(); - m_DSPFooterTemplate += "/CMake/Source/EXEFooter.dsptemplate"; + m_DSPHeaderTemplate = root; + m_DSPHeaderTemplate += "/EXEWinHeader.dsptemplate"; + m_DSPFooterTemplate = root; + m_DSPFooterTemplate += "/EXEFooter.dsptemplate"; break; case UTILITY: m_DSPHeaderTemplate = root; diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 9913a14..8aa412d 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -393,10 +393,10 @@ void cmDSPMakefile::SetBuildType(BuildType b, const char *libName) m_DSPFooterTemplate += "/EXEFooter.dsptemplate"; break; case WIN32_EXECUTABLE: - m_DSPHeaderTemplate = m_Makefile->GetHomeDirectory(); - m_DSPHeaderTemplate += "/CMake/Source/EXEWinHeader.dsptemplate"; - m_DSPFooterTemplate = m_Makefile->GetHomeDirectory(); - m_DSPFooterTemplate += "/CMake/Source/EXEFooter.dsptemplate"; + m_DSPHeaderTemplate = root; + m_DSPHeaderTemplate += "/EXEWinHeader.dsptemplate"; + m_DSPFooterTemplate = root; + m_DSPFooterTemplate += "/EXEFooter.dsptemplate"; break; case UTILITY: m_DSPHeaderTemplate = root; -- cgit v0.12