8000 Add routine to install the ICU character table database · lethalbrains/arangodb@2c7cfac · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c7cfac

Browse files
committed
Add routine to install the ICU character table database
1 parent f00e419 commit 2c7cfac

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

3rdParty/V8/CMakeLists.txt

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,24 @@ list(APPEND V8_GYP_ARGS
6161
## ICU EXPORTS
6262
################################################################################
6363

64+
set(ICU_COMPACT_VERSION
65+
"54"
66+
CACHE INTERNAL
67+
"ICU: compact Version"
68+
)
69+
6470
set(ICU_VERSION
65-
"54.1"
71+
"${ICU_COMPACT_VERSION}.1"
6672
CACHE INTERNAL
6773
"ICU: Version"
68-
)
74+
)
75+
76+
set(ICU_BASEDIR ${V8_DIR}/third_party/icu/source)
77+
set(ICU_DT "${ICU_BASEDIR}/data/in/icudtl.dat")
78+
set(ICU_DT_DEST "icudt${ICU_COMPACT_VERSION}l.dat")
6979

7080
set(ICU_INCLUDE_DIR
71-
${V8_DIR}/third_party/icu/source/common;${V8_DIR}/third_party/icu/source/i18n;${V8_DIR}/third_party/icu/source/io
81+
${ICU_BASEDIR}/common;${ICU_BASEDIR}/i18n;${ICU_BASEDIR}/io
7282
CACHE INTERNAL
7383
"ICU: include path"
7484
FORCE
@@ -449,3 +459,6 @@ else ()
449459
set(LINK_DIRECTORIES "${LINK_DIRECTORIES}" PARENT_SCOPE)
450460
endif()
451461

462+
install(FILES ${ICU_DT}
463+
DESTINATION "share/arangodb/"
464+
RENAME ${ICU_DT_DEST})

0 commit comments

Comments
 (0)
0