2018-04-16 12:53:57 +02:00
|
|
|
Index: b/Modules/FindRuby.cmake
|
|
|
|
===================================================================
|
|
|
|
--- a/Modules/FindRuby.cmake
|
|
|
|
+++ b/Modules/FindRuby.cmake
|
2019-07-22 09:20:56 +02:00
|
|
|
@@ -111,7 +111,7 @@
|
|
|
|
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
|
2012-05-14 16:31:24 +02:00
|
|
|
|
2019-07-22 09:20:56 +02:00
|
|
|
# vendor_ruby available ?
|
|
|
|
- execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
|
|
|
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
|
|
|
|
OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
|
2012-05-14 16:31:24 +02:00
|
|
|
|
2019-07-22 09:20:56 +02:00
|
|
|
if(RUBY_HAS_VENDOR_RUBY)
|