ospray target was not found when compiling a ParaView plugin
We are building a collection of filters in a Paraview plugin and have encoutered an error when ParaView is compiled with the option: PARAVIEW_USE_RAYTRACING
.
During the generate phase of our project we have the following error:
CMake Error at /home/charles/Software/compil/ParaView/build/lib64/cmake/paraview-5.7/ParaViewPlugin.cmake:935 (add_library):
Target "TopologyToolKit" links to target "ospray::ospray" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
paraview/singlePlugin/CMakeLists.txt:1 (paraview_add_plugin)
CMake Error at /home/charles/Software/compil/ParaView/build/lib64/cmake/paraview-5.7/vtkModuleWrapClientServer.cmake:179 (add_library):
Target "ttkUncertainDataEstimatorCS" links to target "ospray::ospray" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
/home/charles/Software/compil/ParaView/build/lib64/cmake/paraview-5.7/vtkModuleWrapClientServer.cmake:305 (_vtk_module_wrap_client_server_library)
/home/charles/Software/compil/ParaView/build/lib64/cmake/paraview-5.7/ParaViewPlugin.cmake:655 (vtk_module_wrap_client_server)
paraview/singlePlugin/CMakeLists.txt:1 (paraview_add_plugin)
...
Maybe a fing_dependency
is missing in a ParaView cmake file somewhere?
Charles