summaryrefslogtreecommitdiff
path: root/src/qdoc/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/main.cpp')
-rw-r--r--src/qdoc/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qdoc/main.cpp b/src/qdoc/main.cpp
index a328b7af1..79cde7950 100644
--- a/src/qdoc/main.cpp
+++ b/src/qdoc/main.cpp
@@ -704,9 +704,11 @@ void QDocCommandLineParser::process(const QCoreApplication &app)
const auto paths = values(includePathOption);
for (const auto &i : paths)
includesPaths << "-I" << currentDir.absoluteFilePath(i);
+#ifdef QDOC_PASS_ISYSTEM
const auto paths2 = values(includePathSystemOption);
for (const auto &i : paths2)
includesPaths << "-isystem" << currentDir.absoluteFilePath(i);
+#endif
const auto paths3 = values(frameworkOption);
for (const auto &i : paths3)
includesPaths << "-F" << currentDir.absoluteFilePath(i);