You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenVDB should not provide a FindTBB.cmake (or any Find*.cmake for that matter) because it overrides local TBBConfig.cmake and may miss some components.
In my specific case, it results to the following:
-- OpenVDB ABI Version: 10
CMake Error at /usr/lib/cmake/TBB/TBBTargets.cmake:42 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: TBB::tbb
Targets not yet defined: TBB::tbbmalloc, TBB::tbbmalloc_proxy,
TBB::tbbbind_2_5, TBB::irml
Call Stack (most recent call first):
/usr/lib/cmake/TBB/TBBConfig.cmake:1 (include)
/home/glow/dev/f3d/deps/install/lib/cmake/vtk-9.3/FindTBB.cmake:75 (find_package)
/home/glow/dev/f3d/deps/install/lib/cmake/OpenVDB/FindOpenVDB.cmake:493 (find_package)
/home/glow/dev/f3d/deps/install/lib/cmake/vtk-9.3/VTK-vtk-module-find-packages.cmake:209 (find_package)
/home/glow/dev/f3d/deps/install/lib/cmake/vtk-9.3/vtk-config.cmake:159 (include)
cmake/f3dPlugin.cmake:170 (find_package)
plugins/vdb/CMakeLists.txt:25 (f3d_plugin_build)
Although the FindTBB.cmake providen by OpenVDB does not appear in the stack, removing it solves the issue.
Removing FindTBB.cmake seems to be finxing the issue, but you must be providing it for a reason, so some care may need to be taken for removal.
The text was updated successfully, but these errors were encountered:
OpenVDB should not provide a FindTBB.cmake (or any Find*.cmake for that matter) because it overrides local TBBConfig.cmake and may miss some components.
In my specific case, it results to the following:
Although the FindTBB.cmake providen by OpenVDB does not appear in the stack, removing it solves the issue.
Removing FindTBB.cmake seems to be finxing the issue, but you must be providing it for a reason, so some care may need to be taken for removal.
The text was updated successfully, but these errors were encountered: