diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-11-25 14:21:02 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-11-25 16:19:38 +0000 |
commit | b243a794aadd02f2187608f5a3b63656be9eb1e0 (patch) | |
tree | b8f21c54c16c56311d35920b8d1d59fa84990988 | |
parent | 93fedb2c9e3afdd31cb7b0d1b2f4a72c1aa39cde (diff) |
CMake: Fix missing run of CMake after saving sub-CMakeLists.txt
If you have a project with subdirs, changing and saving on of the
subdirs CMakeLists.txt would just "reparse" the existing project
data again.
Instead run CMake first, so the change actually takes effect.
Change-Id: Ia2b0f8b5681f10d426229470fdc420b3234eccec
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index c77f785510..c890f3f422 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -781,7 +781,7 @@ void CMakeBuildSystem::wireUpConnections() if (cmake && cmake->isAutoRun()) { qCDebug(cmakeBuildSystemLog) << "Requesting parse due to dirty project file"; setParametersAndRequestParse(BuildDirParameters(cmakeBuildConfiguration()), - CMakeBuildSystem::REPARSE_DEFAULT); + CMakeBuildSystem::REPARSE_FORCE_CMAKE_RUN); } } }); |