weechat: detect Ruby 2.2 for cross-build.

This commit is contained in:
Christian Neukirchen 2014-12-25 16:21:45 +01:00
parent 93684c23c2
commit 39822b1789
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- cmake/FindRuby.cmake 2014-12-25 16:18:17.898741398 +0100
+++ cmake/FindRuby.cmake 2014-12-25 16:18:30.405677809 +0100
@@ -33,7 +33,7 @@
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
- pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
+ pkg_search_module(RUBY ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif()
if(RUBY_FOUND)