summaryrefslogtreecommitdiffstats
path: root/kpdf
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-06-14 23:19:05 +0900
committerMichele Calgaro <[email protected]>2020-06-14 23:28:41 +0900
commit57fac72653ea0cc5430b148c5e3021f0d04056c0 (patch)
treed437135fb5ed61ea64e7c1f1fad7659586ade920 /kpdf
parent7e6848ddd20dfe0288448fde2fc8e25a7c3e7074 (diff)
downloadtdegraphics-57fac72653ea0cc5430b148c5e3021f0d04056c0.tar.gz
tdegraphics-57fac72653ea0cc5430b148c5e3021f0d04056c0.zip
Fixed FTBFS due to missing linked libraries.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 86504f1214deb78997059d71bba74c6b3080cd8f)
Diffstat (limited to 'kpdf')
-rw-r--r--kpdf/CMakeLists.txt3
-rw-r--r--kpdf/xpdf/splash/CMakeLists.txt1
-rw-r--r--kpdf/xpdf/xpdf/CMakeLists.txt1
3 files changed, 4 insertions, 1 deletions
diff --git a/kpdf/CMakeLists.txt b/kpdf/CMakeLists.txt
index fedd6665..e6a46a93 100644
--- a/kpdf/CMakeLists.txt
+++ b/kpdf/CMakeLists.txt
@@ -51,7 +51,8 @@ tde_add_kpart( libkpdfpart AUTOMOC
LINK
kpdfconf-static kpdfui-static kpdfcore-static generatorkimgio-static
generatorpdf-static xpdf-static goo-static splash-static fofi-static
- tdeutils-shared tdeprint-shared tdeparts-shared ${PAPER_LIBRARY} ${XFT_LIBRARIES}
+ tdeutils-shared tdeprint-shared tdeparts-shared
+ ${PAPER_LIBRARY} ${XFT_LIBRARIES} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
DEPENDENCIES kpdfconf-static
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/kpdf/xpdf/splash/CMakeLists.txt b/kpdf/xpdf/splash/CMakeLists.txt
index a7573b6c..650debba 100644
--- a/kpdf/xpdf/splash/CMakeLists.txt
+++ b/kpdf/xpdf/splash/CMakeLists.txt
@@ -29,4 +29,5 @@ tde_add_library( splash STATIC_PIC
SplashPath.cc SplashPattern.cc SplashScreen.cc SplashState.cc
SplashT1Font.cc SplashT1FontEngine.cc SplashT1FontFile.cc
SplashXPath.cc SplashXPathScanner.cc
+ LINK ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
)
diff --git a/kpdf/xpdf/xpdf/CMakeLists.txt b/kpdf/xpdf/xpdf/CMakeLists.txt
index eb5e1762..db01bb97 100644
--- a/kpdf/xpdf/xpdf/CMakeLists.txt
+++ b/kpdf/xpdf/xpdf/CMakeLists.txt
@@ -33,4 +33,5 @@ tde_add_library( xpdf STATIC_PIC
Parser.cc PSOutputDev.cc SecurityHandler.cc SplashOutputDev.cc
Stream.cc JPXStream.cc TextOutputDev.cc UnicodeMap.cc
UnicodeTypeTable.cc XRef.cc
+ LINK ${FONTCONFIG_LIBRARIES}
)