Skip to content

Commit fa56699

Browse files
author
=
committed
Kinfu_large_scale screenshot mananger depends on saveRgbPNGFile, which is in IO only if VTK is available.
1 parent c9e6b65 commit fa56699

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gpu/kinfu_large_scale/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ set(SUBSYS_NAME gpu_kinfu_large_scale)
22
set(SUBSYS_PATH gpu/kinfu_large_scale)
33
set(SUBSYS_DESC "Kinect Fusion implementation, with volume shifting")
44
set(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+
57
if(${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")
@@ -10,7 +12,7 @@ else()
1012
endif()
1113

1214
PCL_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})
1416
PCL_SET_SUBSYS_INCLUDE_DIR("${SUBSYS_NAME}" "${SUBSYS_PATH}")
1517
mark_as_advanced("BUILD_${SUBSYS_NAME}")
1618

0 commit comments

Comments
 (0)