summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-27 14:18:45 +0900
committerMichele Calgaro <[email protected]>2024-12-27 20:16:56 +0900
commitc982cc10bf58a4003ac58fe74a0a84badf4d35ac (patch)
treea4124c951db5a682d7c43969aab7982acddacf52 /kopete
parentf05b79044acf0d5ed78b3a0f53aca157ef524d8e (diff)
downloadtdenetwork-c982cc10bf58a4003ac58fe74a0a84badf4d35ac.tar.gz
tdenetwork-c982cc10bf58a4003ac58fe74a0a84badf4d35ac.zip
Replace pthread linking with cmake-based variabler14.1.x
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e91e7e7f8a13ac99d8fe717b9fb7a6535c2bdf2f)
Diffstat (limited to 'kopete')
-rw-r--r--kopete/protocols/jabber/CMakeLists.txt2
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/jabber/CMakeLists.txt b/kopete/protocols/jabber/CMakeLists.txt
index d300ddc7..cb26e4c4 100644
--- a/kopete/protocols/jabber/CMakeLists.txt
+++ b/kopete/protocols/jabber/CMakeLists.txt
@@ -22,7 +22,7 @@ if( WITH_JINGLE )
cricketp2pclient-static cricketxmpp-static cricketp2pbase-static cricketbase-static
mediastreamer-static ortp-static
${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES}
- ${EXPAT_LIBRARY} ${SPEEX_LIBRARIES} pthread
+ ${EXPAT_LIBRARY} ${SPEEX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
)
endif( )
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt b/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt
index c96bedee..e32e0591 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt
@@ -36,7 +36,7 @@ tde_add_executable( relayserver
SOURCES
relayserver.cpp relayserver_main.cpp
LINK
- cricketbase-static cricketp2pbase-static pthread
+ cricketbase-static cricketp2pbase-static ${CMAKE_THREAD_LIBS_INIT}
DESTINATION ${BIN_INSTALL_DIR}
)
@@ -47,6 +47,6 @@ tde_add_executable( stunserver
SOURCES
stunserver.cpp stunserver_main.cpp
LINK
- cricketbase-static cricketp2pbase-static pthread
+ cricketbase-static cricketp2pbase-static ${CMAKE_THREAD_LIBS_INIT}
DESTINATION ${BIN_INSTALL_DIR}
)