Fixed building with RealSense2 on Windows

This commit is contained in:
matlabbe
2018-07-10 13:09:52 -04:00
parent ee00f81b5b
commit 35bc2d06a6
6 changed files with 134 additions and 48 deletions

View File

@@ -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)