diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-21 16:38:22 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-21 16:38:22 +0100 |
commit | be753046b729dab518c390cbf9be6360310fc65a (patch) | |
tree | 6e486ded1b949713df169ec951fdbe5b8a5e4893 /src/plugins | |
parent | 15f5bc794443f3d3348f3f69cb960166b4b4e9b6 (diff) | |
download | weechat-be753046b729dab518c390cbf9be6360310fc65a.zip |
core: fix detection of Ruby 3.0 on macOS (issue #1721)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/ruby/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/ruby/CMakeLists.txt b/src/plugins/ruby/CMakeLists.txt index 957dd93c6..7ba3b0d8e 100644 --- a/src/plugins/ruby/CMakeLists.txt +++ b/src/plugins/ruby/CMakeLists.txt @@ -25,9 +25,7 @@ set_target_properties(ruby PROPERTIES PREFIX "") if(RUBY_FOUND) include_directories(${RUBY_INCLUDE_DIRS}) - set(LINK_LIBS) - list(APPEND LINK_LIBS ${RUBY_LDFLAGS}) - target_link_libraries(ruby ${LINK_LIBS} ${RUBY_LIB} weechat_plugins_scripts coverage_config) + target_link_libraries(ruby ${RUBY_LDFLAGS} weechat_plugins_scripts coverage_config) endif(RUBY_FOUND) install(TARGETS ruby LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins) |