How to install VTK-9.3.1 with ospray support?

Hi team, I have installed VTK-9.3.1, but it is throwing an error as
CMake Warning at CMake/vtkModule.cmake:4787 (find_package):
By not providing “Findospray.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “ospray”, but
CMake did not find one.

Could not find a package configuration file provided by “ospray” (requested
version 2.1) with any of the following names:

 osprayConfig.cmake
 ospray-config.cmake

Add the installation prefix of “ospray” to CMAKE_PREFIX_PATH or set
“ospray_DIR” to a directory containing one of the above files. If “ospray”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
Rendering/RayTracing/CMakeLists.txt:59 (vtk_module_find_package)

CMake Error at CMake/vtkModule.cmake:4793 (message):
Could not find the ospray external dependency.
Call Stack (most recent call first):
Rendering/RayTracing/CMakeLists.txt:59 (vtk_module_find_package)
How can I resolve this error? Any recommendations would be helpful.

ParaView superbuild builds with ospray support so I’ll look there for libraries and versions needed.
https://gitlab.kitware.com/paraview/paraview-superbuild

In particular in this file:
https://gitlab.kitware.com/paraview/common-superbuild/-/blob/master/versions.cmake

First, install OSPRay from GitHub - RenderKit/ospray: An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization. Then in the CMake configuration step for VTK, set ospray_DIR:PATH=<ospray-installation>/lib/cmake/<ospray-version>. Make sure that the directory you set here is the full path to the directory containing osprayConfig.cmake file.