From 57fac72653ea0cc5430b148c5e3021f0d04056c0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jun 2020 23:19:05 +0900 Subject: Fixed FTBFS due to missing linked libraries. Signed-off-by: Michele Calgaro (cherry picked from commit 86504f1214deb78997059d71bba74c6b3080cd8f) --- kpdf/CMakeLists.txt | 3 ++- kpdf/xpdf/splash/CMakeLists.txt | 1 + kpdf/xpdf/xpdf/CMakeLists.txt | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'kpdf') 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} ) -- cgit v1.2.3