Use COMPONENTS when finding VTK#3032
Conversation
|
I haven't had time to review in detail yet, but from a quick look through I noticed that this will break QVTK detection. This line calls this script. It does not really find QVTK, but rather checks if the necessary components were found before. This won't work anymore because we don't search for these components. |
|
Ah yes... I should probably approach this with a bit more rigor now, rather than the quick and dirty stuff I was doing in the other PR. The way I've been testing this is by building with an Ubuntu Xenial docker image build from this How would I go about replicating your buildsystem? |
|
One more thing to keep in mind: there are two distinct points in time when VTK is looked up. The first is during library configuration time; this PR takes care of it. The second is when a downstream project looks up PCL. At this moment |
This is the first part of #2967, it will only look for the components of VTK that are actually used by PCL.