cmake / 3.25 / variable / cmake_host_linux.html

CMAKE_HOST_LINUX

New in version 3.25.

Set to true when the host system is Linux.

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