diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-07 18:42:33 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-07 18:42:33 +0000 |
commit | 7e5679fbd107db459c18b567e30846a9982dfa94 (patch) | |
tree | cabe4509f9fa290a4ca548bb346890554441e898 /ConfigureChecks.cmake | |
parent | 6a17a99e1c62ed7b805f9d614de50779122a59a4 (diff) | |
download | tdegraphics-7e5679fbd107db459c18b567e30846a9982dfa94.tar.gz tdegraphics-7e5679fbd107db459c18b567e30846a9982dfa94.zip |
[kdegraphics] added cmake support for doc and kdvi
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230812 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 11 |
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 ) |