summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-01-20 15:06:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-01-20 15:06:46 +0100
commit3a782b017f47a3b7442c1117a2d4ab5bd19ec0fc (patch)
tree136281b9a0178fa986b9c96f47dd110f806b3eed /src/plugins
parentd5e546f2c61cb06a853d2fb8dfb73fe85e0e6f1a (diff)
parent0f143da012c23dbcc41751560a83ea68f587618f (diff)
downloadweechat-3a782b017f47a3b7442c1117a2d4ab5bd19ec0fc.zip
Merge branch 'guile2'
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/guile/CMakeLists.txt5
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)