summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-12 16:22:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-08-12 16:22:46 (GMT)
commite3fcb49d937c5a075dd0ad6e31cdbe8f9ba69bf0 (patch)
tree863befe2a267394845c9e00fdfd4eaaedeca51a4 /Modules
parent5a5d1a8933d740a0bd6b71980d9f4b03a11679ac (diff)
parente7fe0b24c487937e9a6652ffcf81d2b290d9c57b (diff)
downloadCMake-e3fcb49d937c5a075dd0ad6e31cdbe8f9ba69bf0.zip
CMake-e3fcb49d937c5a075dd0ad6e31cdbe8f9ba69bf0.tar.gz
CMake-e3fcb49d937c5a075dd0ad6e31cdbe8f9ba69bf0.tar.bz2
Merge topic 'FindRuby_document_deprecated_variables'
e7fe0b24c4 FindRuby: Add documentation for deprecated variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5120
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindRuby.cmake15
1 files changed, 13 insertions, 2 deletions
diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake
index 3b8122e..0559a69 100644
--- a/Modules/FindRuby.cmake
+++ b/Modules/FindRuby.cmake
@@ -48,10 +48,21 @@ This module will set the following variables in your project:
Ruby patch version.
-Also:
+The following variables are also provided for compatibility reasons,
+don't use them in new code:
+``RUBY_EXECUTABLE``
+ same as Ruby_EXECUTABLE.
+``RUBY_INCLUDE_DIRS``
+ same as Ruby_INCLUDE_DIRS.
``RUBY_INCLUDE_PATH``
- same as Ruby_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
+ same as Ruby_INCLUDE_DIRS.
+``RUBY_LIBRARY``
+ same as Ruby_LIBRARY.
+``RUBY_VERSION``
+ same as Ruby_VERSION.
+``RUBY_FOUND``
+ same as Ruby_FOUND.
Hints
^^^^^