aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2020-02-11 15:07:31 +0100
committerTobias Hunger <[email protected]>2020-02-11 16:01:02 +0000
commit108ab4b715d73a2cf3d48271d2220bc04b96e423 (patch)
tree304afaf5305f7d714e52c12327364fe4728b0924 /src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
parenta7bb87032195937ce7bd81f729de82abdbe317cf (diff)
CMake: Do not start several parsing runs in parallel
This should make the parsing a bit more robust. Change-Id: I6a8b1758acefaf197a53a68ec4e569582765a0ea Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
index 89202c8135b..9f175a635fb 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
@@ -233,7 +233,7 @@ void CMakeBuildSystem::triggerParsing()
qCDebug(cmakeBuildSystemLog) << "Parsing has been triggered";
m_currentGuard = guardParsingRun();
- QTC_CHECK(m_currentGuard.guardsProject());
+ QTC_ASSERT(m_currentGuard.guardsProject(), return );
if (m_allFiles.isEmpty())
m_buildDirManager.requestFilesystemScan();