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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user