diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-17 13:25:08 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-17 13:25:08 (GMT) |
commit | 95a8331edb4ba7b53abd796066165b29f70ff258 (patch) | |
tree | 05e7fdd622a040259c37877366c7c697538ccc2b /Source/cmLocalGenerator.cxx | |
parent | 57f25c53e3bbbbda97a7e58fac27c1c56bc1f03a (diff) | |
download | CMake-95a8331edb4ba7b53abd796066165b29f70ff258.zip CMake-95a8331edb4ba7b53abd796066165b29f70ff258.tar.gz CMake-95a8331edb4ba7b53abd796066165b29f70ff258.tar.bz2 |
ENH: produce a lot more output when running with --debug-output
-try to fix build error on HPUX
Alex
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 5742fd5..5c8ee93 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -65,6 +65,9 @@ cmLocalGenerator::~cmLocalGenerator() void cmLocalGenerator::Configure() { + cmLocalGenerator* previousLg = this->GetGlobalGenerator()->GetCurrentLocalGenerator(); + this->GetGlobalGenerator()->SetCurrentLocalGenerator(this); + // make sure the CMakeFiles dir is there std::string filesDir = this->Makefile->GetStartOutputDirectory(); filesDir += cmake::GetCMakeFilesDirectory(); @@ -94,6 +97,8 @@ void cmLocalGenerator::Configure() this->UseRelativePaths = this->Makefile->IsOn("CMAKE_USE_RELATIVE_PATHS"); this->Configured = true; + + this->GetGlobalGenerator()->SetCurrentLocalGenerator(previousLg); } void cmLocalGenerator::SetupPathConversions() |