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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user