ParaView fails to build with TBB using TBBConfig.cmake
ParaView fails at compile time when building with TBB
Steps to reproduce:
cmake -GNinja -DVTK_SMP_IMPLEMENTATION_TYPE=TBB ../src/
ninja
Configuration warnings:
CMake Warning (dev) in VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/CMakeLists.txt:
Policy CMP0111 is not set: An imported target missing its location property
fails during generation. Run "cmake --help-policy CMP0111" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
IMPORTED_LOCATION not set for imported target "vtkm::tbb" configuration
"Debug".
This warning is for project developers. Use -Wno-dev to suppress it.
Compile error:
ninja: error: 'vtkm::tbb-NOTFOUND', needed by 'lib/libvtkm_cont-pv5.9.so.1', missing and no known rule to make it
FYI @ben.boeckel
Edited by Mathieu Westphal (Kitware)