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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to