summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-11-21 16:38:22 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-11-21 16:38:22 +0100
commitbe753046b729dab518c390cbf9be6360310fc65a (patch)
tree6e486ded1b949713df169ec951fdbe5b8a5e4893 /src/plugins
parent15f5bc794443f3d3348f3f69cb960166b4b4e9b6 (diff)
downloadweechat-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.txt4
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)