cmake: Add hierarchy dependency to python target if it exists
requested to merge jcfr/vtk:fix-build-with-vtkRenderingFreeTypeFontConfig-and-kit-enabled into master
A GitLab update will be applied on April 24th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.