Commit 693f8bf3 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

FindThreads: simplify checking for SunOS

parent 858ce31f
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment