CMakeLists.txt: install freetype.m4 on Unixoids

This commit is contained in:
Nikolaus Waxweiler 2019-07-11 23:13:58 +01:00
parent 708991c6cb
commit 8d290d5626
1 changed files with 7 additions and 0 deletions

View File

@ -600,6 +600,13 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
COMPONENT pkgconfig)
endif ()
if (UNIX)
install(
FILES ${PROJECT_SOURCE_DIR}/builds/unix/freetype2.m4
DESTINATION ${CMAKE_INSTALL_DATADIR}/aclocal
COMPONENT m4)
endif ()
install(
TARGETS freetype
EXPORT freetype-targets