ENH: fix re-run of cmake based on configured files that are done with copy if different and never change

This commit is contained in:
Bill Hoffman 2006-04-11 22:39:12 -04:00
parent ed4974da55
commit fa415043d8

View File

@ -2414,7 +2414,6 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
std::string soutfile = outfile;
std::string sinfile = infile;
this->AddCMakeDependFile(infile);
this->AddCMakeOutputFile(outfile);
cmSystemTools::ConvertToUnixSlashes(soutfile);
mode_t perm = 0;
cmSystemTools::GetPermissions(sinfile.c_str(), perm);