]> source.dussan.org Git - rspamd.git/commitdiff
[Rework] Start switching to libicu
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Feb 2017 13:10:03 +0000 (13:10 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Feb 2017 15:04:10 +0000 (15:04 +0000)
CMakeLists.txt

index af5ed5d986de6d87475dd50367dc32a922a25dd3..be7e75f8337d284b9b5243bd82e39215918a43e6 100644 (file)
@@ -681,8 +681,8 @@ ProcessPackage(LIBEVENT LIBRARY event INCLUDE event.h INCLUDE_SUFFIXES include/e
        ROOT ${LIBEVENT_ROOT_DIR} MODULES event libevent)
 ProcessPackage(SQLITE3 LIBRARY sqlite3 INCLUDE sqlite3.h INCLUDE_SUFFIXES include/sqlite3 include/sqlite
        ROOT ${SQLITE3_ROOT_DIR} MODULES sqlite3 sqlite)
-ProcessPackage(ICONV LIBRARY iconv libiconv libiconv-2 c INCLUDE iconv.h INCLUDE_SUFFIXES include/libiconv
-       ROOT ${ICONV_ROOT_DIR} MODULES iconv)
+ProcessPackage(ICU LIBRARY icui18n icuuc icudata INCLUDE ucnv.h INCLUDE_SUFFIXES include/unicode
+       ROOT ${ICU_ROOT_DIR} MODULES icu-i18n)
 ProcessPackage(LIBCRYPT LIBRARY crypto INCLUDE err.h INCLUDE_SUFFIXES include/openssl
        ROOT ${OPENSSL_ROOT_DIR} MODULES openssl libcrypt)
 ProcessPackage(LIBSSL LIBRARY ssl INCLUDE ssl.h INCLUDE_SUFFIXES include/openssl