aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-30 00:14:57 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-30 00:14:57 +0400
commit40fbda609fb6c8f8c6346ad22ddc639828bdd88c (patch)
tree80e9da15fc0442dda1db3c3b5b807787fa6073a8 /lib/CMakeLists.txt
parent83c86d02878f6fbbc234110c2fce321036b19634 (diff)
downloadrspamd-40fbda609fb6c8f8c6346ad22ddc639828bdd88c.tar.gz
rspamd-40fbda609fb6c8f8c6346ad22ddc639828bdd88c.zip
Another fix for out-source build.
Unbreak FreeBSD build.
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r--lib/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 655e02303..6071c0e78 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -8,6 +8,7 @@ SET_TARGET_PROPERTIES(rspamdclient PROPERTIES PUBLIC_HEADER "librspamdclient.h")
SET_TARGET_PROPERTIES(rspamdclient_static PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
TARGET_LINK_LIBRARIES(rspamdclient ${CMAKE_REQUIRED_LIBRARIES})
+TARGET_LINK_LIBRARIES(rspamdclient pcre)
TARGET_LINK_LIBRARIES(rspamdclient ${GLIB2_LIBRARIES})
TARGET_LINK_LIBRARIES(rspamdclient_static ${CMAKE_REQUIRED_LIBRARIES})
@@ -70,4 +71,4 @@ SET_TARGET_PROPERTIES(rspamdserver PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(rspamdserver PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
TARGET_LINK_LIBRARIES(rspamdserver rspamd_lua)
TARGET_LINK_LIBRARIES(rspamdserver rspamd_json)
-TARGET_LINK_LIBRARIES(rspamdserver rspamd_cdb) \ No newline at end of file
+TARGET_LINK_LIBRARIES(rspamdserver rspamd_cdb)