diff options
author | Brad King <brad.king@kitware.com> | 2021-07-02 18:12:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-12 16:21:44 (GMT) |
commit | 2065bd73cb6a9a3bc463c5bb0dc6877433782973 (patch) | |
tree | 9df9d27f4fb78bbd86dcdd9659241fe96eec9cff /Source/cmake.cxx | |
parent | c9cd039e5f312f2717c6522ac7117791856f734b (diff) | |
download | CMake-2065bd73cb6a9a3bc463c5bb0dc6877433782973.zip CMake-2065bd73cb6a9a3bc463c5bb0dc6877433782973.tar.gz CMake-2065bd73cb6a9a3bc463c5bb0dc6877433782973.tar.bz2 |
cmState: Construct with mode
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 73f5ad5..a2b2571 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -162,11 +162,10 @@ cmake::cmake(Role role, cmState::Mode mode) #ifndef CMAKE_BOOTSTRAP , VariableWatch(cm::make_unique<cmVariableWatch>()) #endif - , State(cm::make_unique<cmState>()) + , State(cm::make_unique<cmState>(mode)) , Messenger(cm::make_unique<cmMessenger>()) { this->TraceFile.close(); - this->State->SetMode(mode); this->CurrentSnapshot = this->State->CreateBaseSnapshot(); #ifdef __APPLE__ |