File: dont-install-into-include-subfolder.patch

package info (click to toggle)
libfreenect 1%3A0.5.3-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,172 kB
  • sloc: ansic: 7,417; cpp: 7,265; cs: 2,062; python: 992; ruby: 873; java: 730; xml: 49; sh: 45; makefile: 27
file content (15 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Install header files into include, not in include/<subfolder>
Forwarded: no
Author: arnebe <arne@alamut.de> 

--- a/cmake_modules/SetupDirectories.cmake
+++ b/cmake_modules/SetupDirectories.cmake
@@ -6,7 +6,7 @@ ELSE (PROJECT_OS_WIN)
 ENDIF (PROJECT_OS_WIN)
 
 STRING (TOLOWER ${PROJECT_NAME} projectNameLower)
-SET (PROJECT_INCLUDE_INSTALL_DIR "include/${projectNameLower}")
+SET (PROJECT_INCLUDE_INSTALL_DIR "include")
 SET (PROJECT_MANPAGE_INSTALL_DIR "share/man")
 SET (PROJECT_LIBRARY_INSTALL_DIR "lib")