OSDN Git Service

improve Freetype detection
authorIvailo Monev <xakepa10@gmail.com>
Sun, 1 May 2016 15:47:45 +0000 (15:47 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 1 May 2016 15:47:45 +0000 (15:47 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
cmake/modules/FindFreetype.cmake

index 7067708..5996136 100644 (file)
@@ -21,7 +21,7 @@ endif()
 find_path(FREETYPE_INCLUDES
     NAMES
     freetype.h
-    PATH_SUFFIXES freetype2
+    PATH_SUFFIXES freetype2 freetype2/freetype
     HINTS
     $ENV{FREETYPEDIR}/include
     ${PC_FREETYPE_INCLUDEDIR}