Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame^] | 1 | include: install header files without prefix dir inih |
| 2 | |
| 3 | The other flavor of inih which adapted by Fedora and Ubuntu installs |
| 4 | header files to /usr/include directly. And xfsprogs 5.10.0 also checks |
| 5 | ini.h without extra search path and fails. So install header files |
| 6 | without prefix dir inih. |
| 7 | |
| 8 | Upstream-Status: Submitted [https://github.com/OSSystems/inih/pull/4] |
| 9 | |
| 10 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 11 | --- |
| 12 | include/CMakeLists.txt | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt |
| 16 | index 7a46ee7..4a9033f 100644 |
| 17 | --- a/include/CMakeLists.txt |
| 18 | +++ b/include/CMakeLists.txt |
| 19 | @@ -1 +1 @@ |
| 20 | -install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/inih) |
| 21 | +install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include) |
| 22 | -- |
| 23 | 2.17.1 |
| 24 | |