Selaa lähdekoodia

FindThreads: Drop strange SunOS+pthread.h+thr_create combination

Solaris has provided pthreads for a long time, so we probably never
get to this combination anyway.
Brad King 3 vuotta sitten
vanhempi
sitoutus
5b5cd92363
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      Modules/FindThreads.cmake

+ 0 - 4
Modules/FindThreads.cmake

@@ -178,10 +178,6 @@ if(CMAKE_HAVE_PTHREAD_H)
       endif()
       _check_threads_lib(pthreads pthread_create CMAKE_HAVE_PTHREADS_CREATE)
       _check_threads_lib(pthread  pthread_create CMAKE_HAVE_PTHREAD_CREATE)
-      if(CMAKE_SYSTEM_NAME MATCHES "SunOS")
-          # On sun also check for -lthread
-          _check_threads_lib(thread thr_create CMAKE_HAVE_THR_CREATE)
-      endif()
     endif()
   endif()