VisRTX renderer should not depend on CUDA
@robertmaynard @ben.boeckel @demarle
VisRTX should not depend on VTK_USE_CUDA
, since it is only used as a precompiled library. VisRTX itself only needs CUDA when compiling, but VTK can totally use precompiled VisRTX for rendering without CUDA at compile time (similar as you wouldn't require ISPC for using OSPRay).
I suggest the following fix:
@@ -36,8 +36,7 @@ cmake_dependent_option(VTKOSPRAY_ENABLE_DENOISER
"build OSPRay Renderer using OpenImageDenoise" OFF
"VTK_ENABLE_OSPRAY" OFF)
-cmake_dependent_option(VTK_ENABLE_VISRTX "Enable VisRTX RayTracing backend" OFF
- "VTK_USE_CUDA" OFF)
+option(VTK_ENABLE_VISRTX "Enable VisRTX RayTracing backend" OFF)
Edited by Tim Biedert