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

package info (click to toggle)
libfreenect 1%3A0.1.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,700 kB
  • sloc: ansic: 6,092; cs: 2,060; cpp: 1,896; python: 948; ruby: 873; java: 722; xml: 40; makefile: 28; sh: 27
file content (16 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
@@ -9,7 +9,8 @@
 
 # Installation prefix for include files
 STRING (TOLOWER ${PROJECT_NAME} projectNameLower)
-SET (PROJECT_INCLUDE_INSTALL_DIR "include/${projectNameLower}")
+#SET (PROJECT_INCLUDE_INSTALL_DIR "include/${projectNameLower}")
+SET (PROJECT_INCLUDE_INSTALL_DIR "include")
 
 IF (NOT DEFINED PROJECT_LIBRARY_INSTALL_DIR)
 	SET (PROJECT_LIBRARY_INSTALL_DIR "lib" CACHE PATH "object code libraries")