aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/ninja/Ninja.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 60c1060..bc0503a 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -779,6 +779,9 @@ namespace backend
ninja::NinjaBuildFile ninjaBuildFile;
string globalIncDir;
+#if OS_FAMILY == OS_FAMILY_POSIX
+ globalIncDir += "-I/usr/local/include";
+#endif
for(const auto &includeDir : config.getIncludeDirs())
{
string includeDirRelative = "../../../";