This commit is contained in:
matlabbe
2016-10-21 16:54:32 -04:00
parent 5a24bcfe51
commit 4017db1d15

View File

@@ -140,6 +140,14 @@ IF(freenect2_FOUND)
${LIBRARIES}
${freenect2_LIBRARIES}
)
# Explicitly link to OpenCL (in case of CUDA installed)
FIND_PACKAGE(OpenCL QUIET)
IF(OpenCL_FOUND)
SET(LIBRARIES
${OpenCL_LIBRARIES}
${LIBRARIES}
)
ENDIF(OpenCL_FOUND)
ENDIF(freenect2_FOUND)
IF(RealSense_FOUND)