File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ set(SUBSYS_NAME gpu_kinfu_large_scale)
22set (SUBSYS_PATH gpu/kinfu_large_scale)
33set (SUBSYS_DESC "Kinect Fusion implementation, with volume shifting" )
44set (SUBSYS_DEPS common io gpu_containers gpu_utils geometry search octree filters kdtree features surface)
5+ set (EXT_DEPS vtk) # Uses saveRgbPNGFile from png_io, which requires VTK to be present
6+
57if (${CUDA_VERSION_STRING} VERSION_GREATER_EQUAL "12.0" )
68 set (DEFAULT FALSE )
79 set (REASON "Kinfu_large_scale uses textures which was removed in CUDA 12" )
1012endif ()
1113
1214PCL_SUBSYS_OPTION(build "${SUBSYS_NAME} " "${SUBSYS_DESC} " ${DEFAULT} "${REASON} " )
13- PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} )
15+ PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} EXT_DEPS ${EXT_DEPS} )
1416PCL_SET_SUBSYS_INCLUDE_DIR("${SUBSYS_NAME} " "${SUBSYS_PATH} " )
1517mark_as_advanced ("BUILD_${SUBSYS_NAME} " )
1618
You can’t perform that action at this time.
0 commit comments