Blame SOURCES/cmake-findruby.patch

5cd5b1
diff -Nrup a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake
5cd5b1
--- a/Modules/FindRuby.cmake	2014-01-16 12:15:08.000000000 -0500
5cd5b1
+++ b/Modules/FindRuby.cmake	2016-03-02 16:10:18.242811297 -0500
5cd5b1
@@ -101,14 +101,8 @@ if(RUBY_EXECUTABLE  AND NOT  RUBY_VERSIO
5cd5b1
    _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
5cd5b1
    _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
5cd5b1
 
5cd5b1
-   # vendor_ruby available ?
5cd5b1
-   execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
5cd5b1
-      OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY  ERROR_QUIET)
5cd5b1
-
5cd5b1
-   if(RUBY_HAS_VENDOR_RUBY)
5cd5b1
-      _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
5cd5b1
-      _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
5cd5b1
-   endif()
5cd5b1
+   _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
5cd5b1
+   _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
5cd5b1
 
5cd5b1
    # save the results in the cache so we don't have to run ruby the next time again
5cd5b1
    set(RUBY_VERSION_MAJOR    ${RUBY_VERSION_MAJOR}    CACHE PATH "The Ruby major version" FORCE)