[CMake] CheckIncludeFiles.cmake Question

Jack Morrison JackMorrison1 at gmail.com
Wed Apr 30 14:52:39 EDT 2014


The conditional here:

https://github.com/Kitware/CMake/blob/master/Modules/CheckIncludeFiles.cmake#L42

causes me issues when called with CMAKE_HAVE_PTHREAD_H in FindThreads. It
evaluates to false, leaving pthread.h to not be found and FindThreads to
fail.

What is the purpose of this conditional and why would it cause this
FindThreads call to fail?

I am on OSX 10.9.2 with AppleClang using CMake 3.0.20140430 built from HEAD
with Homebrew.

Cheers,
Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140430/ad9ae489/attachment.html>


More information about the CMake mailing list