summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-16 21:42:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-16 21:42:27 (GMT)
commitbf1840a52d456e4ab77356d5b8e9eef95abcc14b (patch)
treea393d618ee0c5e166a17b1a594ac9261176e5eb0
parent65222add02c2b2a7af8eb0d3251ff254740c58c8 (diff)
downloadCMake-bf1840a52d456e4ab77356d5b8e9eef95abcc14b.zip
CMake-bf1840a52d456e4ab77356d5b8e9eef95abcc14b.tar.gz
CMake-bf1840a52d456e4ab77356d5b8e9eef95abcc14b.tar.bz2
ENH: look for cmake test with .exe if nmake
-rw-r--r--Source/cmUnixMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 05d5a36..b0584df 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -1429,6 +1429,7 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
ctest = cmSystemTools::GetFilenamePath(ctest.c_str());
ctest += "/";
ctest += "ctest";
+ ctest += m_ExecutableExtension;
if (cmSystemTools::FileExists(ctest.c_str()))
{
this->OutputMakeRule(fout,