diff options
author | Michele Calgaro <[email protected]> | 2024-12-27 13:12:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-27 20:14:48 +0900 |
commit | 9bd69e36df9978949a50c775c9855c6f7bed8f7c (patch) | |
tree | 04624f99561c68383359f2709538c932a5a19e32 /tdm/backend | |
parent | 0fe16128497a13e344932b3f507989261f308635 (diff) | |
download | tdebase-9bd69e36df9978949a50c775c9855c6f7bed8f7c.tar.gz tdebase-9bd69e36df9978949a50c775c9855c6f7bed8f7c.zip |
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3df12e580bf4a71991a80424b5375157f6bce3db)
Diffstat (limited to 'tdm/backend')
-rw-r--r-- | tdm/backend/CMakeLists.txt | 4 |
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} ) |