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
4
4
# generated resource file
5
5
examples /protonect /src /resources.inc.h
6
6
examples /protonect /build
7
+ examples /protonect /lib
7
8
8
9
# Dependency folders
9
10
depends /* /
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ TARGET_LINK_LIBRARIES(Protonect
192
192
)
193
193
194
194
CONFIGURE_FILE (freenect2.cmake.in "${PROJECT_BINARY_DIR} /freenect2Config.cmake" @ONLY )
195
+ CONFIGURE_FILE (freenect2.pc.in "${PROJECT_BINARY_DIR} /freenect2.pc" @ONLY )
195
196
196
197
INSTALL (TARGETS freenect2shared DESTINATION lib )
197
198
INSTALL (TARGETS freenect2static DESTINATION lib )
@@ -200,4 +201,5 @@ IF(LIBFREENECT2_THREADING_TINYTHREAD)
200
201
INSTALL (FILES "${MY_DIR} /src/tinythread/tinythread.h" DESTINATION include /${PROJECT_NAME}/tinythread/ )
201
202
ENDIF (LIBFREENECT2_THREADING_TINYTHREAD )
202
203
INSTALL (FILES "${PROJECT_BINARY_DIR} /freenect2Config.cmake" DESTINATION lib/cmake/freenect2/ )
204
+ INSTALL (FILES "${PROJECT_BINARY_DIR} /freenect2.pc" DESTINATION lib/pkgconfig/ )
203
205
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