diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 2 | ||||
-rw-r--r-- | Source/cmake.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 88aed1d..5256fd0 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -618,7 +618,7 @@ void cmake::SetArgs(const std::vector<std::string>& args) else if(arg.find("--debug-output",0) == 0) { std::cout << "Running with debug output on.\n"; - this->DebugOutputOn(); + this->SetDebugOutputOn(true); } else if(arg.find("-G",0) == 0) { diff --git a/Source/cmake.h b/Source/cmake.h index 3f0c598..c1e9a72 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -317,7 +317,7 @@ class cmake // Do we want debug output during the cmake run. bool GetDebugOutput() { return this->DebugOutput; } - void DebugOutputOn() { this->DebugOutput = true;} + void SetDebugOutputOn(bool b) { this->DebugOutput = b;} // Define a property void DefineProperty(const char *name, cmProperty::ScopeType scope, |