Commit 032ff64041f1418da24afb1da42af8d2e6a69e9f

Anonymous Maarten 2022-08-26T02:37:17

cmake: OpenIndiana announces SunOS, which is the former name of Solaris

1
2
3
4
5
6
7
8
9
10
11
12
13
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)