mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
AIX: Add platform id variables 'AIX' and 'CMAKE_HOST_AIX'
This allows projects to use `if(AIX)` blocks instead of spelling out `if(CMAKE_SYSTEM_NAME STREQUAL "AIX")`. We already have similar variables for many other platforms.
This commit is contained in:
committed by
Brad King
parent
8137cf2822
commit
ff03db6657
6
Help/variable/AIX.rst
Normal file
6
Help/variable/AIX.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
AIX
|
||||
---
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
Set to true when the target system is AIX.
|
||||
6
Help/variable/CMAKE_HOST_AIX.rst
Normal file
6
Help/variable/CMAKE_HOST_AIX.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
CMAKE_HOST_AIX
|
||||
--------------
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
Set to true when the host system is AIX.
|
||||
Reference in New Issue
Block a user