Commit db4a231
committed
Add CPPFLAGS to CMake explicitly
Even though CMake is supplied with (via `base/cmake_package.py`)
-DCMAKE_PREFIX_PATH="${BOOST_DIR};${BZIP2_DIR};..."
For some reason, some of the `-I` statements do not get propagated to g++. If
we add the line
-DCMAKE_CXX_FLAGS:STRING="${CPPFLAGS}"
Then all the necessary `-I` statements are propagated. Note the quotation marks
around "${CPPFLAGS}$, those are necessary, since there are spaces in the
variable.1 parent f3c5817 commit db4a231
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
0 commit comments