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 /utils | |
parent | 339e2ffd33d6953cacfb3bbb35586defb21fa82d (diff) | |
download | rspamd-ab8882972d32c737afeda1902f96879f75f0a512.tar.gz rspamd-ab8882972d32c737afeda1902f96879f75f0a512.zip |
[Minor] Always use c++ linker now
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 8cc5978e0..5322dd37c 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -7,11 +7,7 @@ SET(MIMESRC mime_tool.c) MACRO(ADD_UTIL NAME) ADD_EXECUTABLE("${NAME}" "${ARGN}") - IF (USE_CXX_LINKER) - SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE CXX) - ELSE() - SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE C) - ENDIF() + SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE CXX) TARGET_LINK_LIBRARIES("${NAME}" rspamd-server) IF (ENABLE_SNOWBALL MATCHES "ON") TARGET_LINK_LIBRARIES("${NAME}" stemmer) |