mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
CMake: fix search path for freetype2 includes.
This commit is contained in:
@@ -1847,3 +1847,26 @@ index bb0ca91..91577d6 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From bef51860a4e8f12504d8fbd9f421624932f927ad Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Mon, 13 Jan 2014 20:35:48 +0100
|
||||
Subject: FindFreetype: fix search path.
|
||||
|
||||
|
||||
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake
|
||||
index 1df2399..31346a0 100644
|
||||
--- a/Modules/FindFreetype.cmake
|
||||
+++ b/Modules/FindFreetype.cmake
|
||||
@@ -61,7 +61,7 @@ find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
|
||||
/usr/local/X11R6
|
||||
/usr/local/X11
|
||||
/usr/freeware
|
||||
- PATH_SUFFIXES include/freetype2 include
|
||||
+ PATH_SUFFIXES include/freetype2 include freetype2
|
||||
)
|
||||
|
||||
find_library(FREETYPE_LIBRARY
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user