This CMake script will pull down OSPRay's dependencies and build OSPRay itself. The result is an install directory with everything in it (CMAKE_INSTALL_PREFIX)
Run with:
git clone https://github.com/jeffamstutz/superbuild_ospray
cd superbuild_ospray
mkdir build
cd build
cmake ..
cmake --build .