aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-11-25 16:28:28 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-11-27 09:04:41 +0000
commitef05f29940ff52dd8f2b1b97e6dcb602eca98138 (patch)
tree73ff0f8366497ce0cfd46c3d8027a07a5d233738
parent3df31e9b4bfbb8480b48c1d8ad573ff298b5e19a (diff)
ClangTools: Use built-in header paths again
This was broken in 7b6ab79f3e. Change-Id: I037474ecce62bfebfe167d8dce15a6e7dbf7a001 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/plugins/cpptools/compileroptionsbuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/compileroptionsbuilder.cpp b/src/plugins/cpptools/compileroptionsbuilder.cpp
index 23837a8d0c..612b0439b3 100644
--- a/src/plugins/cpptools/compileroptionsbuilder.cpp
+++ b/src/plugins/cpptools/compileroptionsbuilder.cpp
@@ -355,7 +355,7 @@ void CompilerOptionsBuilder::addHeaderPathOptions()
for (const HeaderPath &headerPath : filter.systemHeaderPaths)
addIncludeDirOptionForPath(headerPath);
- if (m_useTweakedHeaderPaths == UseTweakedHeaderPaths::Yes) {
+ if (m_useTweakedHeaderPaths != UseTweakedHeaderPaths::No) {
QTC_CHECK(!m_clangVersion.isEmpty()
&& "Clang resource directory is required with UseTweakedHeaderPaths::Yes.");