blob: fb7b85cfd44efe045211d6951affc9c8b85d37f3 [file] [log] [blame]
Andrew Geissler97771a32021-03-05 15:23:11 -06001include: install header files without prefix dir inih
2
3The other flavor of inih which adapted by Fedora and Ubuntu installs
4header files to /usr/include directly. And xfsprogs 5.10.0 also checks
5ini.h without extra search path and fails. So install header files
6without prefix dir inih.
7
8Upstream-Status: Submitted [https://github.com/OSSystems/inih/pull/4]
9
10Signed-off-by: Kai Kang <kai.kang@windriver.com>
11---
12 include/CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
16index 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--
232.17.1
24