2022-12-13 08:22:49 +08:00
|
|
|
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
2023-03-14 02:35:01 +08:00
|
|
|
index cdd7a08..627f897 100644
|
2022-12-13 08:22:49 +08:00
|
|
|
--- a/cpp/CMakeLists.txt
|
|
|
|
+++ b/cpp/CMakeLists.txt
|
2023-03-14 02:35:01 +08:00
|
|
|
@@ -192,7 +192,7 @@ set (ICU_INCLUDE_DIR ${ICU_UC_INCLUDE_DIR})
|
2022-12-13 08:22:49 +08:00
|
|
|
set (ICU_LIB ${ICU_UC_LIB})
|
|
|
|
# If ICU regexp engine is used or if the geocoder is built, use icui18n as well.
|
2023-03-14 02:35:01 +08:00
|
|
|
if (USE_ICU_REGEXP OR BUILD_GEOCODER)
|
2022-12-13 08:22:49 +08:00
|
|
|
- find_required_library (ICU_I18N unicode/regex.h icui18n "ICU")
|
|
|
|
+ find_required_library (ICU_I18N unicode/regex.h icuin "ICU")
|
|
|
|
check_library_version (PC_ICU_I18N icu-i18n>=4.4)
|
|
|
|
list (APPEND ICU_INCLUDE_DIR ${ICU_I18N_INCLUDE_DIR})
|
|
|
|
list (APPEND ICU_LIB ${ICU_I18N_LIB})
|