ENH: look for cmake test with .exe if nmake

This commit is contained in:
Bill Hoffman 2001-11-16 16:42:27 -05:00
parent 65222add02
commit bf1840a52d
1 changed files with 1 additions and 0 deletions

View File

@ -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,