Not sure if this is an issue that was corrected, as I am working with cmake 2.8.1, but I'm having some issues with FindThreads. I know that pthreads is installed on the system. If I use:
# snip --- snip --- snip --- snip include ( CheckIncludeFiles ) include ( CheckLibraryExists ) check_include_files ( "pthread.h" HAVE_PTHREAD_H ) check_library_exists ( pthread pthread_create "" HAVE_PTHREAD_LIB ) #snip --- snip --- snip --- snip both HAVE_PTHREAD_H and HAVE_PTHREAD_LIB are set to TRUE. However, if I use FindThreads, CMAKE_USE_PTHREADS_INIT remains unset, as do the other CMAKE_*_INIT variables defined therein. Is there something that I'm missing here and just too much a cmake noob to see it? Thanks -- William M. Clifford, M.I.T. william.clifford....@gmail.com Mobile: 954-347-8037 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake