summaryrefslogtreecommitdiffstats
path: root/xine_artsplugin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 14:12:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 18:28:41 +0900
commit1bbc86f7b626b7754fba76d992b367e734991291 (patch)
treebd5be534bd3bae27fa656bb8c25cfb15fc962163 /xine_artsplugin
parent5c6479b287f1705f83156d3913e4830810f69a8f (diff)
downloadtdemultimedia-1bbc86f7b626b7754fba76d992b367e734991291.tar.gz
tdemultimedia-1bbc86f7b626b7754fba76d992b367e734991291.zip
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'xine_artsplugin')
-rw-r--r--xine_artsplugin/CMakeLists.txt2
-rw-r--r--xine_artsplugin/tools/thumbnail/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/xine_artsplugin/CMakeLists.txt b/xine_artsplugin/CMakeLists.txt
index 0b647c96..4b69798f 100644
--- a/xine_artsplugin/CMakeLists.txt
+++ b/xine_artsplugin/CMakeLists.txt
@@ -39,7 +39,7 @@ tde_add_library( arts_xine SHARED AUTOMOC
VERSION 0.0.0
LINK
mcop kmedia2_idl soundserver_idl artsflow artsflow_idl
- ${ARTS_LIBRARIES} ${XINE_LIBRARIES} ${XEXT_LIBRARIES} X11 pthread
+ ${ARTS_LIBRARIES} ${XINE_LIBRARIES} ${XEXT_LIBRARIES} X11 ${CMAKE_THREAD_LIBS_INIT}
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/xine_artsplugin/tools/thumbnail/CMakeLists.txt b/xine_artsplugin/tools/thumbnail/CMakeLists.txt
index 4dbc9502..ac77313e 100644
--- a/xine_artsplugin/tools/thumbnail/CMakeLists.txt
+++ b/xine_artsplugin/tools/thumbnail/CMakeLists.txt
@@ -31,7 +31,7 @@ tde_add_kpart( videothumbnail AUTOMOC
SOURCES
videocreator.cpp videoscaler.cpp
LINK
- tdecore-shared ${XINE_LIBRARIES} pthread
+ tdecore-shared ${XINE_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
DESTINATION ${PLUGIN_INSTALL_DIR}
)