Commit Graph

2 Commits (797c2c3baaee36a96f1b169c6f7e2b653bdb3035)

Author SHA1 Message Date
Nicolas Hake 2becbf6b44 Use pkg-config over CMake to find Freetype (#1024)
If pkg-config does not exist on the build system, then the old
FindFreetype.cmake behavior will be fallen back upon, but pkg-config
should be a lot more reliable.
2014-02-07 00:06:04 +01:00
Nicolas Hake 59ee0ed090 cmake: Get FindFreetype to look for versioned libraries
Since FindFreetype.cmake already extracts the version of freetype
from its header files, I have no idea why they're not automatically
using that info to look for the proper library name in lieu of
hardcoding a single version.
2013-10-08 21:23:07 +02:00