diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-09-07 10:35:31 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-09-07 10:35:31 +0200 |
commit | d8938099ba64b2585b62bced448af0f59fcf9231 (patch) | |
tree | f3828eddd7f68a7deba9c967d836d206e5745296 /cmake | |
parent | 1f7f84c29676c1dfcb211fcaed8c1fcaee973e4e (diff) | |
download | weechat-d8938099ba64b2585b62bced448af0f59fcf9231.zip |
ruby: fix Ruby detection when pkg-config is not installed
The package "pkgconf" is not installed by default on FreeBSD 10.2, so
the detection of Ruby was failing.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindRuby.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindRuby.cmake b/cmake/FindRuby.cmake index eec32a53d..a21d9fd15 100644 --- a/cmake/FindRuby.cmake +++ b/cmake/FindRuby.cmake @@ -41,7 +41,7 @@ if(RUBY_FOUND) mark_as_advanced(RUBY_LIB) else() find_program(RUBY_EXECUTABLE - NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby + NAMES ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby PATHS /usr/bin /usr/local/bin /usr/pkg/bin ) if(RUBY_EXECUTABLE) |