vtkThirdParty.cmake uses wrong capitalisation
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
On my gentoo system, the freetype cmake files are not found by cmake and thus 5.10.1 won't build. Problem is that the file is actually named /usr/share/cmake/Modules/FindFreetype.cmake, but you search for it only via
IF(EXISTS {CMAKE_ROOT}/Modules/Find
{upper}.cmake)
INCLUDE({CMAKE_ROOT}/Modules/Find
{upper}.cmake)
which expands to FindFREETYPE.cmake.
A Temporary workaround is just creating a symlink with the uppercase name, but I think you should search for the lower and upper variants there, and include the package via VTK_THIRD_PARTY_OPTION(FREETYPE Freetype) # mind the second uppercase F in CMakeLists.txt:818, ur just search for the lower option and always provide the correct name as second parameter.