From: Oscar Fuentes Date: Thu, 23 Dec 2010 21:27:22 +0000 (+0000) Subject: Do not re-test for the existence of pthread.h. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=af62935bce59d1086327c0a1767ff3c269e87425;hp=78982611d8686976e7c329e10cb60eaaa64590e2 Do not re-test for the existence of pthread.h. It was causing problems on the MinGW build. See PR8849. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122518 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index f60c0eda030..54ee6cc3a3a 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -8,9 +8,6 @@ if( NOT WIN32 ) add_subdirectory(ExceptionDemo) endif() -include(CheckIncludeFile) -check_include_file(pthread.h HAVE_PTHREAD_H) - if( HAVE_PTHREAD_H ) add_subdirectory(ParallelJIT) endif( HAVE_PTHREAD_H )