From 0f143da012c23dbcc41751560a83ea68f587618f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 16 Jan 2013 22:37:31 +0100 Subject: guile: fix compilation with guile 2.0 --- src/plugins/guile/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins') 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) -- cgit v1.2.3