2014-03-06 10:36:53 +01:00
|
|
|
--- cmake-3.0.0-rc1.orig/Modules/FindRuby.cmake 2014-02-26 16:41:21.000000000 +0100
|
|
|
|
+++ cmake-3.0.0-rc1/Modules/FindRuby.cmake 2014-03-01 02:17:02.602227025 +0100
|
|
|
|
@@ -113,7 +113,7 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSIO
|
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'"
|
|
|
|
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless Config::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)
|