2012-05-14 16:31:24 +02:00
|
|
|
Index: cmake-2.8.8/Modules/FindRuby.cmake
|
|
|
|
===================================================================
|
|
|
|
--- cmake-2.8.8.orig/Modules/FindRuby.cmake 2012-04-18 20:10:54.000000000 +0200
|
|
|
|
+++ cmake-2.8.8/Modules/FindRuby.cmake 2012-05-14 15:42:52.137253084 +0200
|
|
|
|
@@ -93,7 +93,7 @@ IF(RUBY_EXECUTABLE AND NOT RUBY_VERSIO
|
|
|
|
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
|
|
|
|
|
|
|
|
# vendor_ruby available ?
|
|
|
|
- EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
2012-05-30 11:51:26 +02:00
|
|
|
+ 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)
|
|
|
|
|
|
|
|
IF(RUBY_HAS_VENDOR_RUBY)
|