Skip to content

Commit

Permalink
Don't set VTK_LIBRARIES manually
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jspricke committed Nov 17, 2016
1 parent e66d90e commit e1fa2a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions PCLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e1fa2a3

Please sign in to comment.