Please do not submit an entry to the bug tracker. It's a duplicate of these two existing entries:
http://public.kitware.com/Bug/view.php?id=7830 http://public.kitware.com/Bug/view.php?id=11333 Monitor those to see when they're fixed. Presently, they're on the roadmap for the upcoming CMake 2.8.6 release. Thanks, David On Tue, Aug 9, 2011 at 1:28 PM, Gregory Peele ARA/CFD <gpe...@ara.com> wrote: > Hi all, > > > > I noticed that FindThreads.cmake does not detect that Bionic (the Android C > library) has pthreads built-in. Adding the following snippet to the front > of the pthreads section (after pthread.h is found) in FindThreads.cmake > seems to handle this case correctly. > > CHECK_SYMBOL_EXISTS (pthread_create "pthread.h" > CMAKE_HAVE_BUILTIN_PTHREAD_CREATE) > > IF (CMAKE_HAVE_BUILTIN_PTHREAD_CREATE) > > SET(CMAKE_USE_PTHREADS_INIT 1) > > SET(CMAKE_THREAD_LIBS_INIT ) > > SET(CMAKE_HAVE_THREADS_LIBRARY 1) > > SET(Threads_FOUND TRUE) > > ENDIF () > > > > Should I file this in Mantis? > > > > Gregory Peele, Jr. > > Senior Scientist > > Applied Research Associates, Inc. > > Central Florida Division > > > > _______________________________________________ > 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 > _______________________________________________ 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