summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-07-13 16:59:51 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-09 14:32:45 (GMT)
commit7690edffd9801c41dcfa4ef2a6213d4883e55c83 (patch)
tree4cdcf1954e228b3d69fa3f311a8fe367f4bf3df9 /Source/cmGlobalGenerator.cxx
parente4f603b698a13857e79a5f6df18a7461b20d4bd4 (diff)
downloadCMake-7690edffd9801c41dcfa4ef2a6213d4883e55c83.zip
CMake-7690edffd9801c41dcfa4ef2a6213d4883e55c83.tar.gz
CMake-7690edffd9801c41dcfa4ef2a6213d4883e55c83.tar.bz2
Replace cmake::GetScriptMode() with GetWorkingMode()
GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 6c8938e..31035cd 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -782,7 +782,7 @@ void cmGlobalGenerator::Configure()
// so create the map from project name to vector of local generators
this->FillProjectMap();
- if ( !this->CMakeInstance->GetScriptMode() )
+ if ( this->CMakeInstance->GetWorkingMode() == cmake::NORMAL_MODE)
{
const char* msg = "Configuring done";
if(cmSystemTools::GetErrorOccuredFlag())