From c982cc10bf58a4003ac58fe74a0a84badf4d35ac Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 27 Dec 2024 14:18:45 +0900 Subject: Replace pthread linking with cmake-based variable Signed-off-by: Michele Calgaro (cherry picked from commit e91e7e7f8a13ac99d8fe717b9fb7a6535c2bdf2f) --- kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kopete/protocols/jabber/jingle/libjingle') 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} ) -- cgit v1.2.1