diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-20 16:34:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-20 16:34:51 +0000 |
commit | 0dff55c8797357cf6c7ce9335cbd014d75a711cf (patch) | |
tree | b0f316f12c6790fa92857b9309a8f18b3a6861a7 /src/lua/CMakeLists.txt | |
parent | c370177c68eb3b327a9abef4e139dbad64db0a7a (diff) | |
download | rspamd-0dff55c8797357cf6c7ce9335cbd014d75a711cf.tar.gz rspamd-0dff55c8797357cf6c7ce9335cbd014d75a711cf.zip |
Fix symbols deps.
Diffstat (limited to 'src/lua/CMakeLists.txt')
-rw-r--r-- | src/lua/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt index 10606a909..c4ac678a9 100644 --- a/src/lua/CMakeLists.txt +++ b/src/lua/CMakeLists.txt @@ -28,6 +28,13 @@ IF(ENABLE_LUAJIT MATCHES "ON") ELSE(ENABLE_LUAJIT MATCHES "ON") TARGET_LINK_LIBRARIES(rspamd-lua "${LUA_LIBRARY}") ENDIF(ENABLE_LUAJIT MATCHES "ON") +TARGET_LINK_LIBRARIES(rspamd-lua ${GLIB2_LIBRARIES}) +IF(GMIME24) + TARGET_LINK_LIBRARIES(rspamd-lua ${GMIME24_LIBRARIES}) +ELSE(GMIME24) + TARGET_LINK_LIBRARIES(rspamd-lua ${GMIME2_LIBRARIES}) +ENDIF(GMIME24) +TARGET_LINK_LIBRARIES(rspamd-lua rspamd-cdb) SET_TARGET_PROPERTIES(rspamd-lua PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB") IF(NO_SHARED MATCHES "OFF") INSTALL(TARGETS rspamd-lua |