Commit bd8f993
authored
[Cpp] CMake: use variables for specifying install paths consistently (#4109)
* [Cpp] CMake: use variables for specifying install paths consistently
This allows overriding them if needed when the system uses different paths than
usual (e.g. Haiku, which uses "develop/headers" for includes instead of
"include").
Use the standard variable ${CMAKE_INSTALL_INCLUDEDIR} as the base path for the
include directory.
Signed-off-by: Joachim Mairböck <[email protected]>
* [Cpp] CMake: include GNUInstallDirs unconditionally to have CMAKE_INSTALL_DOCDIR available
Signed-off-by: Joachim Mairböck <[email protected]>
---------
Signed-off-by: Joachim Mairböck <[email protected]>1 parent 6a15cc3 commit bd8f993
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | | - | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | | - | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | | - | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments