Commit a2d8447f authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

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

parent ee197557
......@@ -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()) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment