Skip to content

fix calling find_package(VTKCompileTools) when cross compiling

Fix cross compilation failing under following conditions:

  • use CMake > 3.8.0
  • use a native build with target vtkCompileTools for the compile tools (vtkEncodeString, ...)
  • don't use CMAKE_CROSSCOMPILING_EMULATOR

replaces !3044 (closed) this time rebased on master

Merge request reports