CMakelists.txt fix for Freetype builds (#564)
authorKhaled Hosny <khaledhosny@eglug.org>
Thu, 12 Oct 2017 09:05:08 +0000 (12:05 +0300)
committerebraminio <ebrahim@gnu.org>
Thu, 12 Oct 2017 09:05:08 +0000 (12:35 +0330)
commit6760021d6f4beef852c6560607b32090bcfa5acb
treea3ee86b05eeb9518615d2608271721a7b0e39004
parent6a2cbc6ef51680309eb3970ed9c66ff766dc8040
CMakelists.txt fix for Freetype builds (#564)

Instead of searching for freetype using pkg-config, use the FindFreetype
feature of CMake. This allows for better integration with other projects
that make use of CMake.

Fixes https://github.com/behdad/harfbuzz/issues/518
CMakeLists.txt