Do not re-test for the existence of pthread.h.
authorOscar Fuentes <ofv@wanadoo.es>
Thu, 23 Dec 2010 21:27:22 +0000 (21:27 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Thu, 23 Dec 2010 21:27:22 +0000 (21:27 +0000)
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

examples/CMakeLists.txt

index f60c0ed..54ee6cc 100644 (file)
@@ -8,9 +8,6 @@ if( NOT WIN32 )
     add_subdirectory(ExceptionDemo)
 endif()
 
     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 )
 if( HAVE_PTHREAD_H )
   add_subdirectory(ParallelJIT)
 endif( HAVE_PTHREAD_H )