diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2022-12-25 19:46:09 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-25 23:03:24 +0100 |
commit | 824812c7c0cb8d06e55b744535b854461fa4a793 (patch) | |
tree | a714b1cf8c35dcca26c3cf868259ef715e8817ba /cmake | |
parent | 41fd26fe79610df4eb22629a19f697b8fa218447 (diff) | |
download | weechat-824812c7c0cb8d06e55b744535b854461fa4a793.zip |
ruby: add detection of Ruby 3.2
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 1888782d7..2042d244d 100644 --- a/cmake/FindRuby.cmake +++ b/cmake/FindRuby.cmake @@ -37,7 +37,7 @@ if(PKG_CONFIG_FOUND) # set specific search path for macOS set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig") endif() - pkg_search_module(RUBY ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby) + pkg_search_module(RUBY ruby-3.2 ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby) if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") # FIXME: weird hack: hardcoding the Ruby lib location on macOS set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib") |