aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorWolfgang Schupp <w.schupp@a1.net>2018-12-09 10:34:36 +0100
committerGitHub <noreply@github.com>2018-12-09 10:34:36 +0100
commit3bcf989d152e915404dc3e50bd62a8db47e370f6 (patch)
treeec0687fad651089c1d08e1d18c0f13b09613564e /cmake
parente8f6920ccb16c24ea76abd508f9f639eb2a1af4e (diff)
parenta100d791b9db76430ce0474025cbb19fc87f6417 (diff)
Merge pull request #15007 from chewitt/freetype
cmake: add freetype2 PATH_SUFFIX to FindFreeType.cmake
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindFreeType.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/FindFreeType.cmake b/cmake/modules/FindFreeType.cmake
index 8a3955552d..771819e902 100644
--- a/cmake/modules/FindFreeType.cmake
+++ b/cmake/modules/FindFreeType.cmake
@@ -19,7 +19,8 @@ endif()
find_path(FREETYPE_INCLUDE_DIR NAMES freetype/freetype.h freetype.h
PATHS ${PC_FREETYPE_INCLUDEDIR}
- ${PC_FREETYPE_INCLUDE_DIRS})
+ ${PC_FREETYPE_INCLUDE_DIRS}
+ PATH_SUFFIXES freetype2)
find_library(FREETYPE_LIBRARY NAMES freetype freetype246MT
PATHS ${PC_FREETYPE_LIBDIR})