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 f60c0eda030612b50e69b91b6532e3abf2a82f8d..54ee6cc3a3a41ee0188b8be3f5ecd8c338772c79 100644 (file)
@@ -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 )