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

This commit is contained in:
Anonymous Maarten 2022-08-26 02:37:17 +02:00 committed by Sam Lantinga
parent ce227aa69e
commit 032ff64041
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ elseif(UNIX AND NOT APPLE)
set(FREEBSD TRUE) set(FREEBSD TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "SYSV5.*") elseif(CMAKE_SYSTEM_NAME MATCHES "SYSV5.*")
set(SYSV5 TRUE) set(SYSV5 TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "Solaris.*") elseif(CMAKE_SYSTEM_NAME MATCHES "Solaris.*|SunOS.*")
set(SOLARIS TRUE) set(SOLARIS TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "HP-UX.*") elseif(CMAKE_SYSTEM_NAME MATCHES "HP-UX.*")
set(HPUX TRUE) set(HPUX TRUE)