CMAKE_SYSTEM_NAMEΒΆ

Name of the OS CMake is building for.

This is the name of the OS on which CMake is targeting. This variable is the same as CMAKE_HOST_SYSTEM_NAME if you build for the host system instead of the target system when cross compiling.

Previous topic

CMAKE_OBJECT_PATH_MAX

Next topic

CMAKE_SYSTEM_PROCESSOR

This Page