summaryrefslogtreecommitdiffstats
path: root/ksvg/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/ConfigureChecks.cmake')
-rw-r--r--ksvg/ConfigureChecks.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
index 9ff7d8ca..76177f57 100644
--- a/ksvg/ConfigureChecks.cmake
+++ b/ksvg/ConfigureChecks.cmake
@@ -45,3 +45,13 @@ if( FRIBIDI_FOUND )
else( )
tde_message_fatal( "fribidi is required, but was not found on your system" )
endif( )
+
+
+##### check for fontconfig ######################
+
+pkg_search_module( FONTCONFIG fontconfig )
+if( NOT FONTCONFIG_FOUND )
+ message(FATAL_ERROR "\nfontconfig are required, but not found on your system" )
+endif( NOT FONTCONFIG_FOUND )
+set( HAVE_FONTCONFIG 1 CACHE INTERNAL "" FORCE )
+