summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 14:15:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 14:15:25 +0900
commitdc774c76f7d02762ce71f45c538c98caeae4e5c4 (patch)
treecf1b283573800e178b3bb56ef96740409480ac2d /ConfigureChecks.cmake
parent319f85acb1d120b8d776bfd15a64f793568d66fd (diff)
downloadtdeaddons-dc774c76f7d02762ce71f45c538c98caeae4e5c4.tar.gz
tdeaddons-dc774c76f7d02762ce71f45c538c98caeae4e5c4.zip
Replace pthread linking with cmake-based variable
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 9a1f20c..3f7d582 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -72,7 +72,7 @@ if( BUILD_NOATUN_PLUGINS )
tde_message_fatal( "SDL is requested, but was 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( )
endif( WITH_SDL )