From e1fa2a36a2850ba8e41e96955e6f6771bebf7ec9 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 17 Nov 2016 17:49:11 +0100 Subject: [PATCH] Don't set VTK_LIBRARIES manually On a current Debian unstable system this results in: /usr/bin/ld: cannot find -lQt5::Widgets I assume that it made sense when we required only some of the VTK libraries, but setting it to all doesn't make a difference, unless your system is different to the one PCL was compiles on. --- PCLConfig.cmake.in | 3 --- 1 file changed, 3 deletions(-) diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in index fd214a85cb2..250e695a2d2 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -475,9 +475,6 @@ macro(find_VTK) endif(PCL_ALL_IN_ONE_INSTALLER AND NOT ANDROID) if(NOT ANDROID) find_package(VTK ${QUIET_}) - if (VTK_FOUND) - set(VTK_LIBRARIES "@VTK_LIBRARIES@") - endif(VTK_FOUND) endif() endmacro(find_VTK)