wxthon / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Need pthreads detection suppression in CMake build script #270

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some OSes support POSIX threads but gtest's threading tests fail there. See 
http://groups.google.com/group/googletestframework/browse_thread/thread/66eacb6c
45df8470/
8fc028eeee080d29#8fc028eeee080d29 for an example.

autoconf build script has the --with_threads=no flag to suppress use of 
threads. We need a similar 
functionality in CMake build script to support such systems.

Original issue reported on code.google.com by vladlosev on 27 Mar 2010 at 10:32