diff options
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}) |