mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix cmake/FindFreetype.cmake
a bit
This commit is contained in:
parent
efb43ddff8
commit
ec0f0b28d7
|
@ -2,7 +2,7 @@ find_package(PkgConfig QUIET)
|
|||
pkg_check_modules(PC_FREETYPE freetype2)
|
||||
set_extra_dirs(FREETYPE freetype)
|
||||
|
||||
find_path(FREETYPE_INCLUDEDIR ft2build.h
|
||||
find_path(FREETYPE_INCLUDEDIR freetype/config/ftheader.h
|
||||
PATH_SUFFIXES freetype2
|
||||
HINTS ${PC_FREETYPE_INCLUDEDIR} ${PC_FREETYPE_INCLUDE_DIRS}
|
||||
PATHS ${EXTRA_FREETYPE_INCLUDEDIR}
|
||||
|
|
Loading…
Reference in a new issue