Skip to content
Snippets Groups Projects
Commit 302a7ab8 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Rendering/RayTracing: detect and error on ANARI-based VisRTX versions

parent 28ef54a1
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,12 @@ if (VTK_ENABLE_VISRTX)
vtk_module_find_package(
PACKAGE VisRTX
CONFIG_MODE)
if (DEFINED VisRTX_VERSION AND
VisRTX_VERSION VERSION_GREATER_EQUAL "0.2.0")
message(FATAL_ERROR
"VisRTX 0.2.0 and above are intended to be used via the ANARI interface. "
"See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10324 for progress.")
endif ()
vtk_module_link(VTK::RenderingRayTracing
PUBLIC
VisRTX_DynLoad)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment