summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-01 12:41:02 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:27:39 +0200
commite234e073f7b1b7ea730d638f2576056a82bf01fd (patch)
treed08505baec00ab8017d864a89f28373afc26b920 /ConfigureChecks.cmake
parent902cf55735cbe6dd71ae1ca2b30b68fa1622606d (diff)
downloadtdebase-e234e073f7b1b7ea730d638f2576056a82bf01fd.tar.gz
tdebase-e234e073f7b1b7ea730d638f2576056a82bf01fd.zip
Fix svg thumbnail images not appearing in KControl/Appearance & Themes/ Background.
This resolves bug report 744. Thanks to Slávek Banko. (cherry picked from commit 85c2426f988de375bc666bef5a24529989737470)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index d6b3b49da..4a78853c9 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -197,6 +197,16 @@ else( )
set( WITHOUT_ARTS 1 )
endif( )
+# libart
+
+if( WITH_LIBART )
+ pkg_search_module( LIBART libart-2.0 )
+ if( NOT LIBART_FOUND )
+ message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" )
+ endif( NOT LIBART_FOUND )
+ set( HAVE_LIBART 1 )
+endif( WITH_LIBART )
+
# required stuff
find_package( TQt )