cmake / 3.26 / variable / cmake_host_linux.html

CMAKE_HOST_LINUX

New in version 3.25.

Set to true when the host system is Linux.

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