1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

core: fix detection of Ruby 3.0 on macOS (issue #1721)

This commit is contained in:
Sébastien Helleu
2021-11-21 16:38:22 +01:00
parent 15f5bc7944
commit be753046b7
2 changed files with 10 additions and 9 deletions
+1 -3
View File
@@ -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)