You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
588 B
18 lines
588 B
11 years ago
|
Description: Fix FindFreetype after headers location breakage.
|
||
|
Make sure to find freetype headers in their new location (without an
|
||
|
extra freetype/ directory).
|
||
|
Author: Cyril Brulebois <kibi@debian.org>
|
||
|
Bug-Debian: http://bugs.debian.org/731089
|
||
|
|
||
|
--- a/Modules/FindFreetype.cmake
|
||
|
+++ b/Modules/FindFreetype.cmake
|
||
|
@@ -56,7 +56,7 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build
|
||
|
PATH_SUFFIXES include/freetype2 include
|
||
|
)
|
||
|
|
||
|
-find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
|
||
|
+find_path(FREETYPE_INCLUDE_DIR_freetype2 config/ftheader.h
|
||
|
HINTS
|
||
|
ENV FREETYPE_DIR
|
||
|
PATHS
|