commit c3c3914: [Minor] Try to fix libicu linkage

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 28 10:35:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-05-28 11:16:03 +0100
URL: https://github.com/rspamd/rspamd/commit/c3c39140853e004355058d88b58f8142c91ef9e9 (HEAD -> master)

[Minor] Try to fix libicu linkage

---
 CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0800ee0d..a110f14f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,9 +225,11 @@ ENDIF()
 ProcessPackage(SQLITE3 LIBRARY sqlite3 INCLUDE sqlite3.h INCLUDE_SUFFIXES include/sqlite3 include/sqlite
 	ROOT ${SQLITE3_ROOT_DIR} MODULES sqlite3 sqlite)
 ProcessPackage(ICUDATA LIBRARY icudata INCLUDE unicode/ucnv.h
-	ROOT ${ICU_ROOT_DIR} MODULES icu-i18n)
+	ROOT ${ICU_ROOT_DIR} MODULES icu-uc)
 ProcessPackage(ICUC LIBRARY icuuc INCLUDE unicode/ucnv.h
-	ROOT ${ICU_ROOT_DIR} MODULES icu-i18n)
+	ROOT ${ICU_ROOT_DIR} MODULES icu-uc)
+ProcessPackage(ICUIO LIBRARY icuio INCLUDE unicode/ucnv.h
+		ROOT ${ICU_ROOT_DIR} MODULES icu-io)
 ProcessPackage(ICUI18N LIBRARY icui18n INCLUDE unicode/ucnv.h
 	ROOT ${ICU_ROOT_DIR} MODULES icu-i18n)
 ProcessPackage(LIBCRYPT LIBRARY crypto INCLUDE openssl/evp.h


More information about the Commits mailing list