ENH: look for cmake test with .exe if nmake
This commit is contained in:
parent
65222add02
commit
bf1840a52d
|
@ -1429,6 +1429,7 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
|
||||||
ctest = cmSystemTools::GetFilenamePath(ctest.c_str());
|
ctest = cmSystemTools::GetFilenamePath(ctest.c_str());
|
||||||
ctest += "/";
|
ctest += "/";
|
||||||
ctest += "ctest";
|
ctest += "ctest";
|
||||||
|
ctest += m_ExecutableExtension;
|
||||||
if (cmSystemTools::FileExists(ctest.c_str()))
|
if (cmSystemTools::FileExists(ctest.c_str()))
|
||||||
{
|
{
|
||||||
this->OutputMakeRule(fout,
|
this->OutputMakeRule(fout,
|
||||||
|
|
Loading…
Reference in New Issue