Skip to content

Commit 4c07f5c

Browse files
committed
add libusb directory to RPATH
1 parent 690a789 commit 4c07f5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/protonect/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ IF(ENABLE_OPENCL)
194194
ENDIF(OPENCL_FOUND)
195195
ENDIF(ENABLE_OPENCL)
196196

197+
SET(CMAKE_INSTALL_RPATH ${LibUSB-1.0_LIBDIR})
198+
197199
CONFIGURE_FILE("${MY_DIR}/include/libfreenect2/config.h.in" "${MY_DIR}/include/libfreenect2/config.h" @ONLY)
198200
GENERATE_RESOURCES(${RESOURCES_INC_FILE} ${MY_DIR} ${RESOURCES})
199201

0 commit comments

Comments
 (0)