diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-01-31 20:33:12 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-01-31 20:33:12 +0300 |
commit | 2a383446ab6254777693544e5acda2a805947f81 (patch) | |
tree | b929dc0b151cfda62f0c1256673ede9d8cdf5de0 /src/client/CMakeLists.txt | |
parent | bc15f7bcfbe45c51917d153b8174e6b76b5e00bb (diff) | |
download | rspamd-2a383446ab6254777693544e5acda2a805947f81.tar.gz rspamd-2a383446ab6254777693544e5acda2a805947f81.zip |
* Add C client for rspamd that is using librspamdclient
Diffstat (limited to 'src/client/CMakeLists.txt')
-rw-r--r-- | src/client/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt new file mode 100644 index 000000000..186b458f3 --- /dev/null +++ b/src/client/CMakeLists.txt @@ -0,0 +1,8 @@ +# rspamc +SET(RSPAMCSRC rspamc.c) + +ADD_EXECUTABLE(rspamc ${RSPAMCSRC}) +SET_TARGET_PROPERTIES(rspamc PROPERTIES COMPILE_FLAGS "-I.. -I../../lib") +TARGET_LINK_LIBRARIES(rspamc rspamdclient) +TARGET_LINK_LIBRARIES(rspamc ${CMAKE_REQUIRED_LIBRARIES}) +TARGET_LINK_LIBRARIES(rspamc ${GLIB2_LIBRARIES}) |