Commit 3e2e0dd2 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

Add a find_package call for the freetype

When we moved fonts kcm to this repository this find_package call was
missing appearantly since this was not in top-level KCM(!).

Add this find_package call here, so it finds it correctly and fonts kcm
and kfontinst gets built correctly
parent 70a2186a
...@@ -143,6 +143,15 @@ if(${AppStreamQt_FOUND}) ...@@ -143,6 +143,15 @@ if(${AppStreamQt_FOUND})
set(HAVE_APPSTREAMQT true) set(HAVE_APPSTREAMQT true)
endif() endif()
# Fonts kcm and kfontinst
find_package(Freetype)
set_package_properties(Freetype PROPERTIES DESCRIPTION "A font rendering engine"
URL "https://www.freetype.org"
TYPE OPTIONAL
PURPOSE "Needed to build kfontinst, a simple font installer."
)
include(ConfigureChecks.cmake) include(ConfigureChecks.cmake)
include_directories("${CMAKE_CURRENT_BINARY_DIR}") include_directories("${CMAKE_CURRENT_BINARY_DIR}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment