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:35 +0900
commitd8eccd51e42ba46185f76f77552316782663dbc4 (patch)
tree0f6506360e14727a22dd4b945db53cbd6e05c778 /ConfigureChecks.cmake
parent6754ee38e010ebbcde678c59a9245a865635187f (diff)
downloadamarok-d8eccd51.tar.gz
amarok-d8eccd51.zip
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit faf60d6ff4ed9bbde43e467712e90769c2a5f548)
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 fdbd5545..ac31667c 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 )