forked from ~ljy/RK356X_SDK_RELEASE

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