summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-22 19:45:12 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-22 19:45:12 (GMT)
commita2d8447fb942fb67211bd91efb510592bc26bab7 (patch)
treeb149ebf2c914ac592e77b7b2abe6c61bff80dcc4
parentee1975570e60e472e467733a840c30c583fb95cc (diff)
downloadCMake-a2d8447fb942fb67211bd91efb510592bc26bab7.zip
CMake-a2d8447fb942fb67211bd91efb510592bc26bab7.tar.gz
CMake-a2d8447fb942fb67211bd91efb510592bc26bab7.tar.bz2
BUG: Fix logic. If the variable is not set, then it is always ok to write the file
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
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()) )