summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-27 12:18:05 -0400
committerBrad King <brad.king@kitware.com>2020-10-27 12:18:05 -0400
commit4c0ef57e8ca0f55783d4ad3e1545246fa188590b (patch)
tree4feca037ec7de6dc1bf35690a06d0f36a825af08
parent3cc3d42aba879fff5e85b363ae8f21386a3f9f9b (diff)
downloadcmake-4c0ef57e8ca0f55783d4ad3e1545246fa188590b.tar.gz
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 0559a69b64..a0cdf3b038 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)