CMAKE_HOST_SOLARIS

From Get docs
Cmake/docs/3.21/variable/cmake host solaris


CMAKE_HOST_SOLARIS

New in version 3.6.


True for Oracle Solaris operating systems.

Set to true when the host system is Oracle Solaris.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_HOST_SOLARIS.html