summaryrefslogtreecommitdiff
path: root/Modules/FindThreads.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-14 14:45:11 -0400
committerBrad King <brad.king@kitware.com>2022-04-26 13:54:53 -0400
commit5b5cd92363877e790d09f38d6364f42345e7f327 (patch)
treeec9b1c20233d94971f863554b61b6b767d0c5226 /Modules/FindThreads.cmake
parentc9bd462c0887bbb7f9660b81ee2874c94f1e409b (diff)
downloadcmake-5b5cd92363877e790d09f38d6364f42345e7f327.tar.gz
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.
Diffstat (limited to 'Modules/FindThreads.cmake')
-rw-r--r--Modules/FindThreads.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index 15f29f75fe..30f8580055 100644
--- a/Modules/FindThreads.cmake
+++ b/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()