From 8d290d5626e91f22a339a61d8b14d803f6b44cc9 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Thu, 11 Jul 2019 23:13:58 +0100 Subject: [PATCH] CMakeLists.txt: install freetype.m4 on Unixoids --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2208c29b..c8a1b9bfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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