CMakeList.txt lacks the directories to be scanned for system FreeType2
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
VTK CMake has a feature to use FreeType2 library in the system itself, instead of FreeType2 included in VTK source tree. However, some CMakeList.txt lacks the directories for system FreeType2 headers. In most GNU/Linux systems that FreeType2 is installed into /usr, the lack causes no problem because /usr/include is scanned by default. However if FreeType2 is installed into special directories (e.g. Apple installs FreeType2 as a part of X11 system, so /usr/X11R6/include/freetype2 etc should be scanned). Attached patch modifies a few CMakeFile.txt to include FREETYPE_INCLUDE_DIR_freetype2 and FREETYPE_INCLUDE_DIR_ft2build.