summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-27 16:18:05 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-27 16:18:05 (GMT)
commit4c0ef57e8ca0f55783d4ad3e1545246fa188590b (patch)
tree4feca037ec7de6dc1bf35690a06d0f36a825af08
parent3cc3d42aba879fff5e85b363ae8f21386a3f9f9b (diff)
downloadCMake-4c0ef57e8ca0f55783d4ad3e1545246fa188590b.zip
CMake-4c0ef57e8ca0f55783d4ad3e1545246fa188590b.tar.gz
CMake-4c0ef57e8ca0f55783d4ad3e1545246fa188590b.tar.bz2
FindRuby: Restore compatibility variable RUBY_VENDORLIB_DIR
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. This variable was accidentally left out. Fixes: #21369
-rw-r--r--Modules/FindRuby.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake
index 0559a69..a0cdf3b 100644
--- a/Modules/FindRuby.cmake
+++ b/Modules/FindRuby.cmake
@@ -515,6 +515,7 @@ foreach(Camel
Ruby_SITELIB_DIR
Ruby_HAS_VENDOR_RUBY
Ruby_VENDORARCH_DIR
+ Ruby_VENDORLIB_DIR
)
string(TOUPPER ${Camel} UPPER)