mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 13:30:39 +00:00
FindThreads: simplify checking for SunOS
This commit is contained in:
parent
858ce31f4c
commit
693f8bf34d
@ -80,7 +80,7 @@ else()
|
||||
set(CMAKE_HAVE_THREADS_LIBRARY 1)
|
||||
set(Threads_FOUND TRUE)
|
||||
|
||||
elseif(CMAKE_SYSTEM MATCHES "SunOS.*")
|
||||
elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS")
|
||||
# On sun also check for -lthread
|
||||
CHECK_LIBRARY_EXISTS(thread thr_create "" CMAKE_HAVE_THR_CREATE)
|
||||
if(CMAKE_HAVE_THR_CREATE)
|
||||
|
Loading…
Reference in New Issue
Block a user