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:07:12 +0200
commit441a4725270121caa56871c408c6f8bf2ba09e41 (patch)
tree730c8627c1b8b4fe7150e9d9ec8e1bbacd073a07
parentc0263d89c688f750a6e68a7f77257b2be0c55990 (diff)
downloadkchmviewer-441a4725.tar.gz
kchmviewer-441a4725.zip
Added linking to kdeextra library.HEADorigin/masterorigin/HEADmaster
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>
-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
)