1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

threads: Build a libssh threading library.

This commit is contained in:
Andreas Schneider
2010-09-06 14:54:16 +02:00
parent 2cca490076
commit fbe102bada
7 changed files with 129 additions and 6 deletions

View File

@ -128,8 +128,6 @@ endif (Z_LIBRARY)
if (CMAKE_HAVE_THREADS_LIBRARY)
if (CMAKE_HAVE_PTHREADS_CREATE OR CMAKE_HAVE_PTHREAD_CREATE)
set(HAVE_PTHREAD 1)
set(LIBSSH_REQUIRED_LIBRARIES ${LIBSSH_REQUIRED_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
endif (CMAKE_HAVE_PTHREADS_CREATE OR CMAKE_HAVE_PTHREAD_CREATE)
endif (CMAKE_HAVE_THREADS_LIBRARY)