summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle
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:40 +0900
commite91e7e7f8a13ac99d8fe717b9fb7a6535c2bdf2f (patch)
tree97524130e4303d0183695b345c2b41c6b588c5c4 /kopete/protocols/jabber/jingle
parent4b6172160b5b584f50cf6ce1c12c6eaa417bc4c3 (diff)
downloadtdenetwork-e91e7e7f8a13ac99d8fe717b9fb7a6535c2bdf2f.tar.gz
tdenetwork-e91e7e7f8a13ac99d8fe717b9fb7a6535c2bdf2f.zip
Replace pthread linking with cmake-based variable
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kopete/protocols/jabber/jingle')
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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}
)