From ab8882972d32c737afeda1902f96879f75f0a512 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 28 May 2021 11:52:49 +0100 Subject: [Minor] Always use c++ linker now --- src/client/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client') 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}) -- cgit v1.2.3