aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-28 11:52:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-28 11:52:49 +0100
commitab8882972d32c737afeda1902f96879f75f0a512 (patch)
tree59f0bf58e6d1b706ea38c7ad95be3b404def30f9 /src/client
parent339e2ffd33d6953cacfb3bbb35586defb21fa82d (diff)
downloadrspamd-ab8882972d32c737afeda1902f96879f75f0a512.tar.gz
rspamd-ab8882972d32c737afeda1902f96879f75f0a512.zip
[Minor] Always use c++ linker now
Diffstat (limited to 'src/client')
-rw-r--r--src/client/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
index 4e1225ae3..60e422dbd 100644
--- a/src/client/CMakeLists.txt
+++ b/src/client/CMakeLists.txt
@@ -7,9 +7,7 @@ SET(RSPAMCSRC rspamc.c)
ADD_EXECUTABLE(rspamc ${RSPAMCSRC} ${LIBRSPAMDCLIENTSRC})
SET_TARGET_PROPERTIES(rspamc PROPERTIES COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/lib")
TARGET_LINK_LIBRARIES(rspamc rspamd-server)
-IF(USE_CXX_LINKER)
- SET_TARGET_PROPERTIES(rspamc PROPERTIES LINKER_LANGUAGE CXX)
-ENDIF()
+SET_TARGET_PROPERTIES(rspamc PROPERTIES LINKER_LANGUAGE CXX)
IF(NOT DEBIAN_BUILD)
SET_TARGET_PROPERTIES(rspamc PROPERTIES VERSION ${RSPAMD_VERSION})