summaryrefslogtreecommitdiffstats
path: root/ksvg
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg')
-rw-r--r--ksvg/CMakeLists.txt1
-rw-r--r--ksvg/ConfigureChecks.cmake9
-rw-r--r--ksvg/impl/CMakeLists.txt1
3 files changed, 2 insertions, 9 deletions
diff --git a/ksvg/CMakeLists.txt b/ksvg/CMakeLists.txt
index ba7ae70a..bf6fdb31 100644
--- a/ksvg/CMakeLists.txt
+++ b/ksvg/CMakeLists.txt
@@ -39,5 +39,6 @@ tde_add_library( ksvg SHARED
ksvgxrgbrender-static text2path-static ksvgart-static
LINK
tdehtml-shared ${LCMS_LIBRARY} ${ART_LIBRARIES} ${FRIBIDI_LIBRARIES}
+ ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
index e3c3893a..9c2622c8 100644
--- a/ksvg/ConfigureChecks.cmake
+++ b/ksvg/ConfigureChecks.cmake
@@ -53,12 +53,3 @@ 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 )
-
diff --git a/ksvg/impl/CMakeLists.txt b/ksvg/impl/CMakeLists.txt
index 8b44c254..64599da1 100644
--- a/ksvg/impl/CMakeLists.txt
+++ b/ksvg/impl/CMakeLists.txt
@@ -89,4 +89,5 @@ tde_add_library( ksvgdomimpl STATIC_PIC AUTOMOC
SVGFontFaceUriElementImpl.cc SVGDefinitionSrcElementImpl.cc
SVGHKernElementImpl.cc SVGVKernElementImpl.cc SVGMetadataElementImpl.cc
SVGForeignObjectElementImpl.cc svgpathparser.cc
+ LINK kjs-shared
)