CMAKE_HOST_WIN32
True
if the host system is running Windows, including Windows 64-bit and MSYS.
Set to false
on Cygwin.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/variable/CMAKE_HOST_WIN32.html