summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index f7dc5225..4899501e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -9,6 +9,17 @@
#
#################################################
+# freetype2
+if( BUILD_KDVI OR BUILD_KPDF OR BUILD_KSVG )
+ pkg_search_module( FREETYPE freetype2 )
+ if( FREETYPE_FOUND )
+ set( HAVE_FREETYPE 1 )
+ else( )
+ tde_message_fatal( "freetype2 is required, but was not found on your system" )
+ endif( )
+endif( )
+
+
# required stuff
find_package( TQt )
find_package( TDE )