diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-16 22:37:31 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-16 22:37:31 +0100 |
commit | 0f143da012c23dbcc41751560a83ea68f587618f (patch) | |
tree | 9162f410de81177f7697a4fb203bad1906e24d4a /src/plugins/guile | |
parent | 280e9bd0b1e54f228c64aac5310b9e6f9b3b8da9 (diff) | |
download | weechat-0f143da012c23dbcc41751560a83ea68f587618f.zip |
guile: fix compilation with guile 2.0
Diffstat (limited to 'src/plugins/guile')
-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) |