diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-31 06:24:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-31 06:24:04 +0000 |
commit | 83b9df8edf5bf3eb61e5d2e956695f96500359c1 (patch) | |
tree | 0a8ddc5f0c1700cec2aaed2bc3960f08dc7efa4f /ksvg/ConfigureChecks.cmake | |
parent | 56e79472366b958a2ffa31f2cf02cd908d064c8e (diff) | |
download | tdegraphics-83b9df8edf5bf3eb61e5d2e956695f96500359c1.tar.gz tdegraphics-83b9df8edf5bf3eb61e5d2e956695f96500359c1.zip |
Fix kdegraphics CMake compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1244149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/ConfigureChecks.cmake')
-rw-r--r-- | ksvg/ConfigureChecks.cmake | 10 |
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 ) + |