From 59e82e8217d5122705af09c2cc5b7a26bc01738b Mon Sep 17 00:00:00 2001 From: Matthias Holoch Date: Wed, 16 Oct 2024 16:11:06 +0200 Subject: [PATCH] change cmake config to make VTK optional VTK is only needed when building the viewer (disabled by default) --- LVR2Config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LVR2Config.cmake.in b/LVR2Config.cmake.in index aa92103fa..baa044f7b 100644 --- a/LVR2Config.cmake.in +++ b/LVR2Config.cmake.in @@ -46,7 +46,7 @@ list(APPEND LVR2_INCLUDE_DIRS ${OpenCV_INCLUDE_DIRS}) find_package(Eigen3 REQUIRED) list(APPEND LVR2_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR}) -find_package(VTK REQUIRED) +find_package(VTK) list(APPEND LVR2_INCLUDE_DIRS ${VTK_INCLUDE_DIRS}) list(APPEND LVR2_DEFINITIONS ${VTK_DEFINTIONS})