mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
FindThreads: Fix pthread library check in GHS Multi Generator
This commit is contained in:
committed by
Brad King
parent
0404efe786
commit
2c43fb5be3
@@ -161,6 +161,9 @@ if(CMAKE_HAVE_PTHREAD_H)
|
||||
_check_pthreads_flag()
|
||||
endif ()
|
||||
|
||||
if(CMAKE_SYSTEM MATCHES "GHS-MULTI")
|
||||
_check_threads_lib(posix pthread_create CMAKE_HAVE_PTHREADS_CREATE)
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user