summaryrefslogtreecommitdiffstats
path: root/src/cmake/modules/FindFreetype.cmake
blob: 43690febfa9075ecb30a1ead860c44d8d35e102f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This file is part of MXE. See LICENSE.md for licensing information.

message("== Custom MXE File: " ${CMAKE_CURRENT_LIST_FILE})

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

pkg_check_modules(FREETYPE freetype2)

#For compatibility
set(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES})
set(FREETYPE_INCLUDE_DIR ${FREETYPE_INCLUDE_DIRS})