Configure fails if VTK_BUILD_TESTING=ON and VTK_GROUP_ENABLE_Rendering=OFF
With current master, if I create a fresh bin directory and do a fresh cmake configure, then just make 2 changes:
VTK_BUILD_TESTING *WANT
VTK_GROUP_ENABLE_Rendering *DONT_WANT
Then try to re-configure, it fails with:
CMake Error at CMake/vtkModule.cmake:2618 (message):
The VTK::octree dependency is missing for VTK::RenderingLabel. The
`vtk_module_scan` for this module used `ENABLE_TESTS WANT`. This is a
known issue, but the fix is not trivial. You may either change the flag
used to control testing for this scan or explicitly enable the VTK::octree
module.
Call Stack (most recent call first):
CMakeLists.txt:450 (vtk_module_build)
If I try instead the stronger:
VTK_BUILD_TESTING *ON
VTK_GROUP_ENABLE_Rendering *OFF
It fails differently:
CMake Error at CMake/vtkModule.cmake:1038 (message):
The VTK::IOMovie module (enabled via a `WANT` setting (via
`VTK_GROUP_ENABLE_StandAlone`)) requires the disabled module
VTK::TestingRendering (disabled via a `NO` setting (via
`VTK_GROUP_ENABLE_Rendering`)).
Call Stack (most recent call first):
CMakeLists.txt:365 (vtk_module_scan)
Shouldn't one be able to build VTK without rendering? But still have testing of what remains?
@ben.boeckel I'm trying this because the old Rogue7 bot pretty consistently kernel panics running VTK tests. I'm hoping to eliminate the OpenGL drivers to avoid that, and at least still build & test something.