Unknown CMake command "vtk_module_config"

(Roger Mc Murtrie) #1

Mac-Mini 2018
OSX 10.14.15
XCode 10.2.1
VTK Latest git pull origin master

I tried to build Examples/Tutorial/Step1/Cxx but Cmake Configure fails with:
CMake Error at CMakeLists.txt:7 (vtk_module_config):
Unknown CMake command “vtk_module_config”.

In fact, all examples I have tried to build fail with this error.

(Ben Boeckel) #2

Some of the examples have been unloved (and untested) for a long time. I left those that are still using VTK 8’s CMake API with an UNMAINTAINED.md file. The examples without those have been updated. See Examples/CMakeLists.txt for the examples which are up-to-date.