summaryrefslogtreecommitdiffstats
path: root/src/cmake/FindFreetype.cmake
blob: f1821f6086e226b930ac88aa8afc2cce62cbe9c1 (plain)
1
2
3
4
5
6
7
8
9
10
# This file is part of MXE.
# See index.html for further information.

if(NOT PKG_CONFIG_FOUND)
  find_package(PkgConfig REQUIRED)
endif()

pkg_check_modules(FREETYPE freetype2)

set(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES}) #For compatibility