mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
13 lines
498 B
CMake
13 lines
498 B
CMake
include_directories ("/usr/local/opt/icu4c/include")
|
|
set (ICU_HINTS "/usr/local/opt/icu4c/lib")
|
|
if (USE_STATIC_LIBRARIES)
|
|
find_library (ICUI18N libicui18n.a HINTS ${ICU_HINTS})
|
|
find_library (ICUUC libicuuc.a HINTS ${ICU_HINTS})
|
|
find_library (ICUDATA libicudata.a HINTS ${ICU_HINTS})
|
|
else ()
|
|
find_library (ICUI18N icui18n HINTS ${ICU_HINTS})
|
|
find_library (ICUUC icuuc HINTS ${ICU_HINTS})
|
|
find_library (ICUDATA icudata HINTS ${ICU_HINTS})
|
|
endif ()
|
|
set (ICU_LIBS ${ICUI18N} ${ICUUC} ${ICUDATA})
|