summaryrefslogtreecommitdiff
path: root/Modules/FindRuby.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-07 12:40:26 -0400
committerBrad King <brad.king@kitware.com>2020-08-07 12:40:26 -0400
commit69597441316541110e17c66ebfdc74dad3cb17dd (patch)
tree9a1a0fad59257d6ec7e67aa05843d491fd10737b /Modules/FindRuby.cmake
parent63a65baf4c343c73b2142078ef0045d3711dea1d (diff)
downloadcmake-69597441316541110e17c66ebfdc74dad3cb17dd.tar.gz
FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH
Since commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11, v3.18.0-rc1~546^2), the result variables named with the old `RUBY_` prefix are provided by compatibility code that maps from the new `Ruby_` prefix variables. There is no `Ruby_INCLUDE_PATH` variable, so do not try to map it to `RUBY_INCLUDE_PATH`. The latter is provided by dedicated compatibility code left from before that transition. Fixes: #21064
Diffstat (limited to 'Modules/FindRuby.cmake')
-rw-r--r--Modules/FindRuby.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake
index 1bdee60336..3b8122e1ac 100644
--- a/Modules/FindRuby.cmake
+++ b/Modules/FindRuby.cmake
@@ -50,7 +50,7 @@ This module will set the following variables in your project:
Also:
-``Ruby_INCLUDE_PATH``
+``RUBY_INCLUDE_PATH``
same as Ruby_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
Hints
@@ -493,7 +493,6 @@ foreach(Camel
Ruby_VERSION_MAJOR
Ruby_VERSION_MINOR
Ruby_VERSION_PATCH
- Ruby_INCLUDE_PATH
Ruby_ARCH_DIR
Ruby_ARCH