diff options
| author | Raphael Kubo da Costa <rakuco-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org> | 2014-02-03 12:58:36 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-03 14:39:14 +0100 |
| commit | b049e126520af650092598e15fd807fa3e9c919b (patch) | |
| tree | 3bf24b7970e839311081fb22c2e443820f634342 /include/libssh | |
| parent | 785682ac2816149e838038e4591e9bd0ab0b6944 (diff) | |
ConfigureChecks: Stop checking for CMAKE_HAVE_THREADS_LIBRARY.
libssh is primarily interested in whether pthreads is present and can be
used. Checking for CMAKE_HAVE_THREADS_LIBRARY is not the same thing, as
there are cases where pthread exists but CMAKE_HAVE_THREADS_LIBRARY is not
set (for example, FreeBSD passes -DTHREADS_HAVE_PTHREAD_ARG=1 to CMake by
default as a way to skip the checks for -lpthread, -lpthreads and others and
tell the build system that -pthread is the one expected to be used).
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
0 files changed, 0 insertions, 0 deletions
