Commit 86075a8f authored by Yuchen Deng's avatar Yuchen Deng Committed by Daniel Teske

Get the correct CMake Version

Change-Id: Ie5443c31ecf8dd7644303f5e5a2f9885a33bf3a7
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent bc1977d2
......@@ -93,7 +93,7 @@ void CMakeValidator::finished(int exitCode)
m_hasCodeBlocksMsvcGenerator = response.contains("CodeBlocks - NMake Makefiles");
m_hasCodeBlocksNinjaGenerator = response.contains("CodeBlocks - Ninja");
m_version = versionRegexp.cap(1);
if (!(versionRegexp.capturedTexts().size() > 3))
if (versionRegexp.capturedTexts().size() > 3)
m_version += QLatin1Char('.') + versionRegexp.cap(3);
if (m_version.isEmpty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment