OS X: Query pkg-config for freetype location

Nobody remembers why we're not using pkg-config on OS X, so we'll go back
to it and see what breaks.
qteditor
Nicolas Hake 2016-06-23 01:26:22 +02:00
parent b7f1bb749b
commit 721753b396
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
# Use pkg-config if possible instead of doing guesswork like the default CMake module does
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND AND NOT APPLE)
if(PKG_CONFIG_FOUND)
set(_ft_pkgconfig_args "")
if(FREETYPE_FIND_QUIET)
set(_ft_pkgconfig_args "${_ft_pkgconfig_args}QUIET ")