This is wrong. These are not VTK and should not be found via find_package(VTK)
. If one wants something like this, find_package(VTKLookingGlass)
is how it should work. Of particular interest is that the python-module-properties.cmake
file just clobbered VTK’s copy of that file. How are these files to be included anyways? vtk-config.cmake
won’t look at them.
I’m really not interested in supporting this. The code in VTK builds as part of VTK. If that’s not suitable, let’s move it out of VTK and make it its own repo so that it can be used separately and can be expected to work separately. This appears to just be clobbering parts of VTK’s installed CMake package.
I really don’t want to support this either. VTK does a lot of work to make itself useful for VTK-using projects and expecting VTK to pick up the slack for making a proper CMake package is too far. Any module that only supports being built this way will not appear in official wheels or builds at all because this code is outside of VTK’s software process or quality control.
This is fine…it’s just normal CMake project. Why is VTKExternalModule
helpful here?
This is also not correct…it’s not VTK code and should be in its own package. This is just like if VTK shipped a numpy.vtk
module…it’s not NumPy’s code and we shouldn’t inject ourselves into its package.