summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-07-30 18:18:04 (GMT)
committerGitHub <noreply@github.com>2016-07-30 18:18:04 (GMT)
commit208f5cc8508dd70d3f40fcba255e12cf8f1f9bf3 (patch)
tree884a42cafa7945444c3377dae1e6351fd75cb671
parentd6349ea72a222a10f4c13fed33ff5764239836ab (diff)
parent2d41575725df93f6503f8357012554c7d47410bd (diff)
downloadmxe-208f5cc8508dd70d3f40fcba255e12cf8f1f9bf3.zip
mxe-208f5cc8508dd70d3f40fcba255e12cf8f1f9bf3.tar.gz
mxe-208f5cc8508dd70d3f40fcba255e12cf8f1f9bf3.tar.bz2
Merge pull request #1465 from tonytheodore/freetype-cmake
FindFreetype.cmake: add INCLUDE_DIR
-rw-r--r--src/cmake/modules/FindFreetype.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmake/modules/FindFreetype.cmake b/src/cmake/modules/FindFreetype.cmake
index e436662..44d0675 100644
--- a/src/cmake/modules/FindFreetype.cmake
+++ b/src/cmake/modules/FindFreetype.cmake
@@ -9,4 +9,6 @@ endif()
pkg_check_modules(FREETYPE freetype2)
-set(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES}) #For compatibility
+#For compatibility
+set(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES})
+set(FREETYPE_INCLUDE_DIR ${FREETYPE_INCLUDE_DIRS})