summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJulien Marrec <julien.marrec@gmail.com>2020-03-11 17:25:28 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-11 17:56:10 (GMT)
commite672db628b0785a1e3af85d2af68ad82316f303e (patch)
tree557a8e58ac8e25b56bee7631a155f4b2aefd7abd /Help
parentc7c6e103d1209f7e29cb2909cf342be75478f304 (diff)
downloadCMake-e672db628b0785a1e3af85d2af68ad82316f303e.zip
CMake-e672db628b0785a1e3af85d2af68ad82316f303e.tar.gz
CMake-e672db628b0785a1e3af85d2af68ad82316f303e.tar.bz2
FindRuby: Rename variables to match case of module name
Use recommended case for variable names, i.e. matching name of the module as passed to `find_package`. For backwards compatibility, the upper case versions of both input and output variables are used and defined when appropriate. Skip this for the _FOUND variable because FPHSA already does it. This follows the approach from commit a7b09e7f43 (FindProtobuf: Rename variables to match case of module name, 2016-03-01, v3.6.0-rc1~273^2). Issue: #20370
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/FindRuby-variable-case.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/FindRuby-variable-case.rst b/Help/release/dev/FindRuby-variable-case.rst
new file mode 100644
index 0000000..bd4a2f1
--- /dev/null
+++ b/Help/release/dev/FindRuby-variable-case.rst
@@ -0,0 +1,7 @@
+FindRuby-variable-case
+----------------------
+
+* The :module:`FindRuby` module input and output variables were all renamed
+ from ``RUBY_`` to ``Ruby_`` for consistency with other find modules.
+ Input variables of the old case will be honored if provided, and output
+ variables of the old case are always provided.