diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-28 22:23:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-28 22:23:56 +0000 |
commit | 158c9f6a505cf40d850ab3cae4dc115b80bf3a1d (patch) | |
tree | bb55338d903cca292fba2dd0f6b8e448513d60ef /test/CMakeLists.txt | |
parent | 01817dc286f00cce8555a9e9e896a1ea5c513bc9 (diff) | |
download | rspamd-158c9f6a505cf40d850ab3cae4dc115b80bf3a1d.tar.gz rspamd-158c9f6a505cf40d850ab3cae4dc115b80bf3a1d.zip |
Add explicit dependency for rspamd-test on rspamd-server
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 51e2e77f1..057ff76f6 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ SET(TESTSRC rspamd_expression_test.c ADD_EXECUTABLE(rspamd-test EXCLUDE_FROM_ALL ${TESTSRC}) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE C) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES COMPILE_FLAGS "-DRSPAMD_TEST") - +ADD_DEPENDENCIES(rspamd-test rspamd-server) TARGET_LINK_LIBRARIES(rspamd-test "-Wl,-whole-archive ../src/librspamd-server.a -Wl,-no-whole-archive") TARGET_LINK_LIBRARIES(rspamd-test rspamd-cdb) TARGET_LINK_LIBRARIES(rspamd-test rspamd-http-parser) |