Skip to content

FindTBB: don't elide output variable logic if already found

Ben Boeckel requested to merge ben.boeckel/vtk:findtbb-always-make-target into master

The logic isn't expensive in the first place and the imported target should be made if it isn't present (e.g., another FindTBB didn't make an imported target). The cache variables from the find_* calls elide most of the hard work between multiple find_package(TBB) calls already.

See: paraview/paraview#19280 (closed)


@cory.quammen This should go into 5.7 so that OSPRay-enabled builds don't end up getting confused.

Cc: @charles.gueunet @demarle
Backport: paraview/release

Merge request reports