From 032ff64041f1418da24afb1da42af8d2e6a69e9f Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 26 Aug 2022 02:37:17 +0200 Subject: [PATCH] cmake: OpenIndiana announces SunOS, which is the former name of Solaris --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f3d917a0..b46bfe8fc 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)