diff options
Diffstat (limited to 'src/plugins/ruby/CMakeLists.txt')
-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) |