diff options
author | chewitt <github@chrishewitt.net> | 2018-12-06 19:35:19 +0000 |
---|---|---|
committer | chewitt <github@chrishewitt.net> | 2018-12-06 19:35:19 +0000 |
commit | a100d791b9db76430ce0474025cbb19fc87f6417 (patch) | |
tree | 05c1e006a228a534cfbcd0d7cebb8905d8a4ea59 /cmake | |
parent | 23701b086233aa44388b64a0fe817e7ba98b6d10 (diff) |
cmake: add freetype2 PATH_SUFFIX to FindFreeType.cmake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindFreeType.cmake | 3 |
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}) |