diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-15 21:22:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-15 21:22:37 +0100 |
commit | 2125dc455412385a2fd3d2fa9fdd7c0e08454b74 (patch) | |
tree | 116031dc9986a1bb016729efc55faeb1c79f874a /CMakeLists.txt | |
parent | a59e81ca90c986725107c8c013ccf33a91b07d45 (diff) | |
download | rspamd-2125dc455412385a2fd3d2fa9fdd7c0e08454b74.tar.gz rspamd-2125dc455412385a2fd3d2fa9fdd7c0e08454b74.zip |
[Minor] Remove legacy iconv stuff
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b53793008..5f12ae437 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,6 @@ ENDIF(NOT RSPAMD_USER) # Default for SysV Init SET(RSPAMD_WORKER_NORMAL "*:11333") SET(RSPAMD_WORKER_CONTROLLER "*:11334") -SET_PROPERTY(GLOBAL PROPERTY ALLOW_DUPLICATE_CUSTOM_TARGETS 1) ############################# OPTIONS SECTION ############################################# OPTION(ENABLE_LUAJIT "Link with libluajit [default: ON]" ON) @@ -336,21 +335,6 @@ CHECK_C_SOURCE_COMPILES( return timezone; }" HAVE_SANE_TZSET) -IF(WITH_ICONV) - CHECK_C_SOURCE_COMPILES(" -#include <iconv.h> -int main(){ - iconv_t conv = 0; - const char* in = 0; - size_t ilen = 0; - char* out = 0; - size_t olen = 0; - iconv(conv, &in, &ilen, &out, &olen); - return 0; -} -" ICONV_SECOND_ARGUMENT_IS_CONST) -ENDIF(WITH_ICONV) - # Check macros CHECK_SYMBOL_EXISTS(PATH_MAX limits.h HAVE_PATH_MAX) CHECK_SYMBOL_EXISTS(MAXPATHLEN sys/param.h HAVE_MAXPATHLEN) |