summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/CMakeLists.txt
diff options
context:
space:
mode:
authorroman <roman@oscada.org>2020-07-31 12:22:43 +0000
committerroman <roman@oscada.org>2020-07-31 12:22:43 +0000
commit0cf6d999417faa59cba940897b0a62430f2cd685 (patch)
tree3f517b2901b006eab613d8e03323ca7c3d1ad3b6 /kopete/protocols/jabber/CMakeLists.txt
parentdfdf36e216921399afab86d0d683ef39b88adeab (diff)
parent767fedec73a3536a0d47ee497d6be0d2e4461108 (diff)
downloadtdenetwork-bug/3014/krfb.tar.gz
tdenetwork-bug/3014/krfb.zip
Merge branch 'master' into bug/3014/krfbbug/3014/krfb
Diffstat (limited to 'kopete/protocols/jabber/CMakeLists.txt')
-rw-r--r--kopete/protocols/jabber/CMakeLists.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/kopete/protocols/jabber/CMakeLists.txt b/kopete/protocols/jabber/CMakeLists.txt
index 61202e95..571b9ba0 100644
--- a/kopete/protocols/jabber/CMakeLists.txt
+++ b/kopete/protocols/jabber/CMakeLists.txt
@@ -9,6 +9,11 @@
#
#################################################
+if( NOT TQCA_FOUND )
+ set( TQCA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libiris/qca/src )
+ set( TQCA_LIBRARIES "tqca-static" )
+endif( )
+
add_subdirectory( ui )
add_subdirectory( icons )
add_subdirectory( libiris )
@@ -34,7 +39,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/libiris/iris/include
${CMAKE_CURRENT_SOURCE_DIR}/libiris/iris/jabber
${CMAKE_CURRENT_SOURCE_DIR}/libiris/iris/xmpp-im
- ${CMAKE_CURRENT_SOURCE_DIR}/libiris/qca/src
${CMAKE_CURRENT_SOURCE_DIR}/libiris/cutestuff/util
${CMAKE_CURRENT_SOURCE_DIR}/libiris/cutestuff/network
${CMAKE_CURRENT_SOURCE_DIR}/ui
@@ -44,6 +48,7 @@ include_directories(
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${TQCA_INCLUDE_DIR}
)
link_directories(
@@ -53,7 +58,12 @@ link_directories(
##### other data ################################
-install( FILES kopete_jabber.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kopete_jabber.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kopete-desktops
+)
+
install( FILES jabberchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_jabber )
@@ -79,7 +89,7 @@ tde_add_kpart( kopete_jabber AUTOMOC
LINK
jabberclient-static kopetejabberui-static
iris_jabber-static iris_xmpp_core-static iris_xmpp_im-static iris-static
- qca-static cutestuff_network-static cutestuff_util-static ${JINGLE_LIBRARIES}
+ ${TQCA_LIBRARIES} cutestuff_network-static cutestuff_util-static ${JINGLE_LIBRARIES}
kopete-shared idn
DESTINATION ${PLUGIN_INSTALL_DIR}
)