diff options
Diffstat (limited to 'src/plugins/guile/CMakeLists.txt')
-rw-r--r-- | src/plugins/guile/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/guile/CMakeLists.txt b/src/plugins/guile/CMakeLists.txt index 2bfbaa4fc..73162016c 100644 --- a/src/plugins/guile/CMakeLists.txt +++ b/src/plugins/guile/CMakeLists.txt @@ -24,8 +24,9 @@ SET_TARGET_PROPERTIES(guile PROPERTIES PREFIX "") IF(GUILE_FOUND) INCLUDE_DIRECTORIES(${GUILE_INCLUDE_DIRS}) - SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${GUILE_LFLAGS}") - TARGET_LINK_LIBRARIES(guile ${GUILE_LIBRARY} weechat_plugins_scripts) + SET(LINK_LIBS) + LIST(APPEND LINK_LIBS ${GUILE_LDFLAGS}) + TARGET_LINK_LIBRARIES(guile ${LINK_LIBS} weechat_plugins_scripts) ENDIF(GUILE_FOUND) INSTALL(TARGETS guile LIBRARY DESTINATION ${LIBDIR}/plugins) |