VTK 6.1.0 config fails when BUILD_EXAMPLES=ON
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
$ mkdir t; cd t $ cmake -DBUILD_EXAMPLES=ON ../VTK-6.1.0/ ... -- * vtkzlib, needed by 9 modules: vtkIOCore vtkIOGeometry vtkMetaIO vtkfreetype vtkgl2ps vtkhdf5 vtklibxml2 vtkpng vtktiff CMake Error at CMake/vtkModuleAPI.cmake:120 (message): Requested modules not available:
vtkTestingCore
Call Stack (most recent call first): /home/melis/c/t/VTKConfig.cmake:81 (vtk_module_config) /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package) Examples/AMR/Cxx/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/melis/c/t/CMakeFiles/CMakeOutput.log". See also "/home/melis/c/t/CMakeFiles/CMakeError.log".
With BUILD_EXAMPLES=OFF configuration succeeds. Cmake version is 2.8.12.2, Arch Linux x86_64 system.