pcl icon indicating copy to clipboard operation
pcl copied to clipboard

[Discussion] Should PCL search for dependencies again during CMake import in a project using PCL?

Open kunaltyagi opened this issue 4 years ago • 1 comments

Started from @mvieth's comment in #5065 cc: @larshg

kunaltyagi avatar Dec 12 '21 15:12 kunaltyagi

My thought process: The info should be same as build time because of API and ABI changes that might happen otherwise. Eg:

  • Find vtk-7 during build and install pcl
  • Someone installs vtk-8 (and maybe remove vtk-7)
  • Build project using PCL
  • Clearly, PCL should try to find VTK-7, not VTK-8 since the internal logic is dependent on the version used to build

My current stance: No (but it should change to be the best option for downstream users)

kunaltyagi avatar Dec 12 '21 15:12 kunaltyagi