CMP0185.rst 949 B

12345678910111213141516171819202122232425
  1. CMP0185
  2. -------
  3. .. versionadded:: 4.0
  4. :module:`FindRuby` no longer provides upper-case ``RUBY_*`` variables.
  5. :module:`FindRuby` in CMake 3.31 and below provided result variables
  6. named with an upper-case ``RUBY_`` prefix. CMake 3.18 renamed them
  7. with a ``Ruby_`` prefix to match the name of the package, but continued
  8. to provide the upper-case ``RUBY_`` variables for compatibility.
  9. CMake 4.0 and above prefer to provide only ``Ruby_`` variables and no
  10. longer provide ``RUBY_`` variables. This policy provides compatibility
  11. with projects that have not been updated.
  12. The ``OLD`` behavior for this policy is to provide both ``Ruby_`` and
  13. ``RUBY_`` variables. The ``NEW`` behavior for this policy is to provide
  14. only ``Ruby_`` variables and not ``RUBY_`` variables.
  15. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0
  16. .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
  17. .. include:: include/STANDARD_ADVICE.rst
  18. .. include:: include/DEPRECATED.rst