File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ examples/protonect/include/libfreenect2/config.h
44# generated resource file
55examples /protonect /src /resources.inc.h
66examples /protonect /build
7+ examples /protonect /lib
78
89# Dependency folders
910depends /* /
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ TARGET_LINK_LIBRARIES(Protonect
192192)
193193
194194CONFIGURE_FILE (freenect2.cmake.in "${PROJECT_BINARY_DIR} /freenect2Config.cmake" @ONLY)
195+ CONFIGURE_FILE (freenect2.pc.in "${PROJECT_BINARY_DIR} /freenect2.pc" @ONLY)
195196
196197INSTALL (TARGETS freenect2shared DESTINATION lib)
197198INSTALL (TARGETS freenect2static DESTINATION lib)
@@ -200,4 +201,5 @@ IF(LIBFREENECT2_THREADING_TINYTHREAD)
200201 INSTALL (FILES "${MY_DIR} /src/tinythread/tinythread.h" DESTINATION include /${PROJECT_NAME} /tinythread/)
201202ENDIF (LIBFREENECT2_THREADING_TINYTHREAD)
202203INSTALL (FILES "${PROJECT_BINARY_DIR} /freenect2Config.cmake" DESTINATION lib/cmake/freenect2/)
204+ INSTALL (FILES "${PROJECT_BINARY_DIR} /freenect2.pc" DESTINATION lib/pkgconfig/)
203205
Original file line number Diff line number Diff line change 1+ prefix=@CMAKE_INSTALL_PREFIX@
2+ exec_prefix=@CMAKE_INSTALL_PREFIX@
3+ libdir=${prefix}/lib
4+ includedir=${prefix}/include
5+
6+ Name: freenect2
7+ Description: Driver for the Kinect v2 (aka K4W)
8+ Version:
9+ Requires: @DEPS_PKGCONFIG@
10+ Libs: -L${libdir} -lfreenect2
11+ Cflags: -I${includedir}
12+
You can’t perform that action at this time.
0 commit comments