diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-28 11:52:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-28 11:52:49 +0100 |
commit | ab8882972d32c737afeda1902f96879f75f0a512 (patch) | |
tree | 59f0bf58e6d1b706ea38c7ad95be3b404def30f9 /test | |
parent | 339e2ffd33d6953cacfb3bbb35586defb21fa82d (diff) | |
download | rspamd-ab8882972d32c737afeda1902f96879f75f0a512.tar.gz rspamd-ab8882972d32c737afeda1902f96879f75f0a512.zip |
[Minor] Always use c++ linker now
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 934b141c7..9e56cbad7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -16,9 +16,7 @@ SET(TESTSRC rspamd_mem_pool_test.c ADD_EXECUTABLE(rspamd-test EXCLUDE_FROM_ALL ${TESTSRC}) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES COMPILE_FLAGS "-DRSPAMD_TEST") ADD_DEPENDENCIES(rspamd-test rspamd-server) -IF(USE_CXX_LINKER) - SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX) -ENDIF() +SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX) TARGET_LINK_LIBRARIES(rspamd-test rspamd-server) SET(CXXTESTSSRC rspamd_cxx_unit.cxx) |