Commit 20f0bd95 authored by Tobias Hunger (external)'s avatar Tobias Hunger (external) Committed by Tobias Hunger
Browse files

CMake: Improve parsing of unix makefile-based projects

Task-number: QTCREATORBUG-15825
Change-Id: Ifc7bd784a8b9b4b13829859f81ca42829aae383e
Reviewed-by: default avatarTobias Hunger <>
parent a57e7588
......@@ -276,7 +276,7 @@ void CMakeCbpParser::parseBuildTargetOption()
const QLatin1String searchSource("SET(CMAKE_RELATIVE_PATH_TOP_SOURCE \"");
while (!stream.atEnd()) {
const QString lineTopSource = stream.readLine().trimmed();
if (lineTopSource.startsWith(searchSource)) {
if (lineTopSource.startsWith(searchSource, Qt::CaseInsensitive)) {
m_buildTarget.sourceDirectory = lineTopSource.mid(searchSource.size());
m_buildTarget.sourceDirectory.chop(2); // cut off ")
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