CMP0057.rst 518 B

123456789101112131415161718
  1. CMP0057
  2. -------
  3. .. versionadded:: 3.3
  4. Support new :command:`if` IN_LIST operator.
  5. CMake 3.3 adds support for the new IN_LIST operator.
  6. The ``OLD`` behavior for this policy is to ignore the IN_LIST operator.
  7. The ``NEW`` behavior is to interpret the IN_LIST operator.
  8. This policy was introduced in CMake version 3.3.
  9. CMake version |release| warns when the policy is not set and uses
  10. ``OLD`` behavior. Use the :command:`cmake_policy` command to set
  11. it to ``OLD`` or ``NEW`` explicitly.
  12. .. include:: DEPRECATED.txt