summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-05-23 00:36:54 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-05-23 00:36:54 (GMT)
commit827ec6e39a1a6e30fc41e13cdf3470a530ec404c (patch)
tree786739b5832044f74bf4b5390e9e395af130ff5d
parent52e83c7afde624bf639828e1cb811ca83ef1d1dc (diff)
downloadCMake-827ec6e39a1a6e30fc41e13cdf3470a530ec404c.zip
CMake-827ec6e39a1a6e30fc41e13cdf3470a530ec404c.tar.gz
CMake-827ec6e39a1a6e30fc41e13cdf3470a530ec404c.tar.bz2
Seems to me that EXEWinHeader was not searched in the right place.
-rw-r--r--Source/cmDSPMakefile.cxx8
-rw-r--r--Source/cmDSPWriter.cxx8
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;