$NetBSD: patch-examples_keypoints_CMakeLists.txt,v 1.1 2021/05/07 11:36:29 thor Exp $ Support VTK 9, from PR 4262 --- examples/keypoints/CMakeLists.txt.orig 2020-08-14 12:23:03.000000000 +0000 +++ examples/keypoints/CMakeLists.txt @@ -6,12 +6,11 @@ PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} D ## Find VTK if(NOT VTK_FOUND) - set(DEFAULT FALSE) - set(REASON "VTK was not found.") + set(DEFAULT FALSE) + set(REASON "VTK was not found.") else() - set(DEFAULT TRUE) - set(REASON) - include(${VTK_USE_FILE}) + set(DEFAULT TRUE) + set(REASON) endif() PCL_ADD_EXAMPLE(pcl_example_sift_keypoint_estimation FILES example_sift_keypoint_estimation.cpp