Files
libssh/src
Raphael Kubo da Costa 4ea4e12df2 build: Use Threads_FOUND to decide whether to build ssh_threads.
Follow-up to 4e04ec8, which caused a regression on OS X.

Checking the value of CMAKE_THREAD_LIBS_INIT to decide whether any threading
library is present on a system turns out to be wrong -- in OS X, for
example, usage of pthreads does not depend on any additional linker or
compiler flags, so CMAKE_THREAD_LIBS_INIT is empty and our check in
src/CMakeLists.txt failed (it used to work before 4e04ec8 because
CMAKE_HAVE_THREADS_LIBRARY is set).

Instead, just look for Threads_FOUND, which FindThreads sets just like any
other Find module when it has found what it was looking for.

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-06 11:13:23 +01:00
..
2012-03-09 18:14:13 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 16:09:04 +01:00
2014-01-07 16:09:04 +01:00
2014-02-04 16:04:26 +01:00
2014-01-07 16:09:04 +01:00
2011-09-18 21:37:17 +02:00
2014-01-23 11:22:22 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 15:18:44 +01:00
2013-11-18 15:10:56 +01:00
2014-01-07 16:09:04 +01:00
2011-05-01 19:42:50 +02:00
2013-10-18 23:50:06 +02:00
2012-10-05 11:22:15 +02:00
2014-01-07 15:18:44 +01:00
2012-10-09 11:09:34 +02:00
2014-01-07 16:09:04 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 14:21:15 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 16:09:04 +01:00
2014-02-05 22:30:10 +01:00
2014-01-07 15:18:44 +01:00
2014-01-08 22:06:38 +01:00
2014-01-07 15:18:44 +01:00