diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-12-09 18:23:33 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | ca0cb67cba09deb06cb1748786846ac7557e5c80 (patch) | |
tree | 6b7b42836733ba7bc6a67be1d8acad689af282f5 /backend/ninja | |
parent | 088ebf35a20601afd2f2840bcadd7ded81d03665 (diff) |
Add include path for openbsd and other systems with similar structure
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 3 |
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 = "../../../"; |