BUG: Fix logic. If the variable is not set, then it is always ok to write the file

This commit is contained in:
Andy Cedilnik 2006-03-22 14:45:12 -05:00
parent ee1975570e
commit a2d8447fb9
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ bool cmMakefile::CanIWriteThisFile(const char* fileName)
{
if ( !this->IsOn("CMAKE_DISABLE_SOURCE_CHANGES") )
{
return 0;
return true;
}
// If we are doing an in-source build, than the test will always fail
if ( cmSystemTools::SameFile(this->GetHomeDirectory(), this->GetHomeOutputDirectory()) )