mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed building with RealSense2 on Windows
This commit is contained in:
@@ -191,10 +191,17 @@ IF(realsense2_FOUND)
|
||||
${INCLUDE_DIRS}
|
||||
${realsense2_INCLUDE_DIRS}
|
||||
)
|
||||
SET(LIBRARIES
|
||||
${LIBRARIES}
|
||||
realsense2
|
||||
)
|
||||
IF(WIN32)
|
||||
SET(LIBRARIES
|
||||
${LIBRARIES}
|
||||
${RealSense2_LIBRARIES}
|
||||
)
|
||||
ELSE()
|
||||
SET(LIBRARIES
|
||||
${LIBRARIES}
|
||||
realsense2
|
||||
)
|
||||
ENDIF()
|
||||
ENDIF(realsense2_FOUND)
|
||||
|
||||
IF(DC1394_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user