From a2d8447fb942fb67211bd91efb510592bc26bab7 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 22 Mar 2006 14:45:12 -0500 Subject: BUG: Fix logic. If the variable is not set, then it is always ok to write the file --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index cb8c948..4c23683 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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()) ) -- cgit v0.12