summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 11:46:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 17:36:20 +0900
commitfaf60d6ff4ed9bbde43e467712e90769c2a5f548 (patch)
tree4cc0fccecbd6e038c410df36a0daa3a0d02edfb7 /ConfigureChecks.cmake
parente1cfe3e78109e5ce5edcedb243a0be83fabbeea2 (diff)
downloadamarok-faf60d6ff4ed9bbde43e467712e90769c2a5f548.tar.gz
amarok-faf60d6ff4ed9bbde43e467712e90769c2a5f548.zip
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 23ab2cad..8d0f1fc9 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -120,7 +120,7 @@ if( WITH_LIBVISUAL )
tde_message_fatal( "SDL is required, but not found on your system" )
endif ( )
set ( SDL_INCLUDE_DIRS /usr/include/SDL )
- set ( SDL_LIBRARIES SDL pthread )
+ set ( SDL_LIBRARIES SDL ${CMAKE_THREAD_LIBS_INIT} )
endif( )
pkg_search_module( LIBVISUAL libvisual-0.4 )