summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-27 13:12:50 +0900
committerMichele Calgaro <[email protected]>2024-12-27 18:34:11 +0900
commit3df12e580bf4a71991a80424b5375157f6bce3db (patch)
tree5cfb727555f3161a3829ce3e64e665806cc6d5ae /tdm
parentab81005c219c6a8c104fc49e27f068048f59f7b1 (diff)
downloadtdebase-3df12e580bf4a71991a80424b5375157f6bce3db.tar.gz
tdebase-3df12e580bf4a71991a80424b5375157f6bce3db.zip
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdm')
-rw-r--r--tdm/backend/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdm/backend/CMakeLists.txt b/tdm/backend/CMakeLists.txt
index cb0cd3d3f..a9144d5ff 100644
--- a/tdm/backend/CMakeLists.txt
+++ b/tdm/backend/CMakeLists.txt
@@ -49,6 +49,8 @@ tde_add_executable( tdm
process.c protodpy.c reset.c resource.c rpcauth.c
server.c session.c sessreg.c socket.c streams.c
util.c xdmauth.c xdmcp.c
- LINK X11 pthread ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${UTIL_LIBRARY} ${XDMCP_LIBRARIES}
+ LINK
+ X11 ${CMAKE_THREAD_LIBS_INIT} ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${CRYPT_LIBRARY}
+ ${PAM_LIBRARY} ${UTIL_LIBRARY} ${XDMCP_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)