summaryrefslogtreecommitdiffstats
path: root/kcontrol
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 /kcontrol
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 'kcontrol')
-rw-r--r--kcontrol/background/CMakeLists.txt2
-rw-r--r--kcontrol/icons/CMakeLists.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/kcontrol/background/CMakeLists.txt b/kcontrol/background/CMakeLists.txt
index 693d6330c..74d7e7934 100644
--- a/kcontrol/background/CMakeLists.txt
+++ b/kcontrol/background/CMakeLists.txt
@@ -18,6 +18,7 @@ if( BUILD_KCONTROL OR BUILD_KDESKTOP OR BUILD_KDM )
${CMAKE_SOURCE_DIR}/libkonq
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${LIBART_INCLUDE_DIRS}
)
link_directories(
@@ -28,6 +29,7 @@ if( BUILD_KCONTROL OR BUILD_KDESKTOP OR BUILD_KDM )
tde_add_library( bgnd STATIC_PIC AUTOMOC
SOURCES bgrender.cpp bgsettings.cpp
+ LINK ${LIBART_LIBRARIES}
)
endif( )
diff --git a/kcontrol/icons/CMakeLists.txt b/kcontrol/icons/CMakeLists.txt
index 4e7a856ce..0a7dfbefb 100644
--- a/kcontrol/icons/CMakeLists.txt
+++ b/kcontrol/icons/CMakeLists.txt
@@ -14,6 +14,7 @@ include_directories(
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${LIBART_INCLUDE_DIRS}
)
link_directories(
@@ -30,6 +31,6 @@ install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Settings/LookNF
tde_add_kpart( kcm_icons AUTOMOC
SOURCES iconthemes.cpp icons.cpp main.cpp
- LINK kio-shared
+ LINK kio-shared ${LIBART_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)