blob: b51087e0e73c649d00e1467fab3b9611206a2089 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# -*- cmake -*-
include(Prebuilt)
set(ICU4C_FIND_QUIETLY ON)
set(ICU4C_FIND_REQUIRED ON)
if (USESYSTEMLIBS)
include(FindICU4C)
else (USESYSTEMLIBS)
use_prebuilt_binary(icu4c)
if (WINDOWS)
set(ICU4C_LIBRARY icuuc)
elseif(DARWIN)
set(ICU4C_LIBRARY icuuc)
#elseif(LINUX)
# set(ICU4C_LIBRARY ...)
else()
message(FATAL_ERROR "Invalid platform")
endif()
set(ICU4C_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/unicode)
use_prebuilt_binary(dictionaries)
endif (USESYSTEMLIBS)
|