Commit 4cf7782
Tor Didriksen
Bug#35311140 Build failure with Homebrew rapidjson installed & symlinked
On MacOS, If Homebrew rapidjson is installed, then build fails. Note that
even -DWITH_RAPIDJSON=bundled does not help, and the only workaround is brew
unlink rapidjson.
This is a regression from
Bug#35006191 Convert rapidjson to a cmake interface library
which removed the global
INCLUDE_DIRECTORIES(BEFORE SYSTEM ${RAPIDJSON_INCLUDE_DIR})
It turns out we need this on MacOS to avoid accidental #include of
rapidjson headers from Homebrew rather than the bundled code in
extra/rapidjson.
Backported to 8.0
(cherry picked from commit ac364d25c0fdd10eaaecc5bb935e85c592879f7e)
Change-Id: Id737953d05ea77f35de656067f594b47a7c7ba511 parent 120d7c2 commit 4cf7782
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
0 commit comments