summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-13 01:07:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-13 01:08:32 +0200
commit916c64c0ede30c94e195311706f05cdee36211df (patch)
tree7c1b000ab364782764c5bb329e1a92e3d49d3c6b
parent518045aebbfa9cf4cd1f9f4b36d5003f2414795e (diff)
downloadkchmviewer-916c64c0ede30c94e195311706f05cdee36211df.tar.gz
kchmviewer-916c64c0ede30c94e195311706f05cdee36211df.zip
Added linking to kdeextra library.
This resolve FTBFS on some systems. Because the kdeextra library is linked as static, there is no reason to be installed as a separate library. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 441a4725270121caa56871c408c6f8bf2ba09e41)
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/tde/CMakeLists.txt5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 39704dd..01868c9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,8 +25,6 @@ if( WITH_TDE )
tdecore-shared
tdeui-shared
tdeio-shared
- tdehtml-shared
- tdeparts-shared
)
set( TDEEXTRA_LIBRARIES kdeextra-static )
else( )
diff --git a/src/tde/CMakeLists.txt b/src/tde/CMakeLists.txt
index 9370944..b94a47a 100644
--- a/src/tde/CMakeLists.txt
+++ b/src/tde/CMakeLists.txt
@@ -22,6 +22,7 @@ tde_add_library( kdeextra STATIC_PIC AUTOMOC
kchmdcopiface.skel
kchmdcopiface.cpp
kchmviewwindow_tdehtmlpart.cpp
-
- DESTINATION ${LIB_INSTALL_DIR}
+ LINK
+ tdehtml-shared
+ tdeparts-shared
)