2016-11-16 13:51:15 +01:00
|
|
|
--- a/Modules/FindRuby.cmake 2016-11-15 23:00:54.832228081 +0100
|
|
|
|
+++ b/Modules/FindRuby.cmake 2016-11-15 23:01:55.201700739 +0100
|
|
|
|
@@ -107,7 +107,7 @@
|
2012-05-14 16:31:24 +02:00
|
|
|
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
|
|
|
|
|
|
|
|
# vendor_ruby available ?
|
2012-11-02 15:31:52 +01:00
|
|
|
- execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
2015-05-19 10:35:29 +02:00
|
|
|
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
|
2012-05-14 16:31:24 +02:00
|
|
|
OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
|
|
|
|
|
2012-11-02 15:31:52 +01:00
|
|
|
if(RUBY_HAS_VENDOR_RUBY)
|