cmake: OpenIndiana announces SunOS, which is the former name of Solaris
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f3d917..b46bfe8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,7 +169,7 @@ elseif(UNIX AND NOT APPLE)
set(FREEBSD TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "SYSV5.*")
set(SYSV5 TRUE)
- elseif(CMAKE_SYSTEM_NAME MATCHES "Solaris.*")
+ elseif(CMAKE_SYSTEM_NAME MATCHES "Solaris.*|SunOS.*")
set(SOLARIS TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "HP-UX.*")
set(HPUX TRUE)