summaryrefslogtreecommitdiffstats
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:45 (GMT)
commitacd15bf146616517df7ac7f55f9c270657cad0d5 (patch)
treec91d15bc2fbea725cfe7632bb6c4389268208cdf
parenteaf81817c479185d3a8bccc4b10525f63c036a15 (diff)
parente7fe0b24c487937e9a6652ffcf81d2b290d9c57b (diff)
downloadCMake-acd15bf146616517df7ac7f55f9c270657cad0d5.zip
CMake-acd15bf146616517df7ac7f55f9c270657cad0d5.tar.gz
CMake-acd15bf146616517df7ac7f55f9c270657cad0d5.tar.bz2
Merge topic 'FindRuby_document_deprecated_variables' into release-3.18
e7fe0b24c4 FindRuby: Add documentation for deprecated variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5120
-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
^^^^^