Skip to content

Commit

Permalink
Fix librealsense include path finding
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhangxa committed Dec 13, 2016
1 parent 77f0a75 commit ce7ded2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeModules/FindLibRealSense.cmake
Expand Up @@ -24,7 +24,7 @@ find_library(LIBREALSENSE_LIBRARY
NAMES librealsense.so
HINTS /usr/lib /usr/local/lib )

set(LIBREALSENSE_INCLUDE_DIRS ${LIBREALSENSE_INCLUDE_DIR})
string(REPLACE "/librealsense" "" LIBREALSENSE_INCLUDE_DIRS ${LIBREALSENSE_INCLUDE_DIR})
set(LIBREALSENSE_LIBRARIES ${LIBREALSENSE_LIBRARY})

include(FindPackageHandleStandardArgs)
Expand Down

0 comments on commit ce7ded2

Please sign in to comment.