view src/vtk-2-findfreetype.patch @ 6454:9b5b81c294f9 release

of-sparsersb: Cherry-pick patch from upstream (bug #61393). * src/of-sparsersb-2-tempdir.patch: Cherry-pick upstream patch to release tarball. * dist-files.mk: Add new file to dist.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 15 Oct 2022 15:25:49 +0200
parents 99516e73b368
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

This patch has been taken from:
http://www.vtk.org/Bug/view.php?id=12688

--- VTK/CMake/FindFREETYPE.cmake.orig	2011-08-24 15:37:07.000000000 +0200
+++ VTK/CMake/FindFREETYPE.cmake	2011-10-25 22:55:52.265702464 +0200
@@ -15,6 +15,7 @@
 FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
   /usr/include/freetype2
   /usr/local/include/freetype2
+  PATH_SUFFIXES freetype2
 )
 
 FIND_LIBRARY(FREETYPE_LIBRARY freetype)