build: add utf8proc as dependency

utf8proc contains all the data which is currently in
unicode_tables.generated.h internally, but in quite a different format.
Ideally unicode_tables.generated.h should be removed as well so we rely
solely on utf8proc. We want to avoid a situation where the possibility
of unicode mismatch occurs, e.g a distro using both unicode 12 and
unicode 13.
This commit is contained in:
dundargoc
2024-06-12 17:04:58 +02:00
committed by dundargoc
parent 46187117c9
commit 32e16cb0b6
6 changed files with 30 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ find_package(Lpeg REQUIRED)
find_package(Msgpack 1.0.0 REQUIRED)
find_package(Treesitter 0.22.6 REQUIRED)
find_package(Unibilium 2.0 REQUIRED)
find_package(UTF8proc REQUIRED)
target_link_libraries(main_lib INTERFACE
iconv
@@ -42,7 +43,8 @@ target_link_libraries(main_lib INTERFACE
lpeg
msgpack
treesitter
unibilium)
unibilium
utf8proc)
target_link_libraries(nlua0 PUBLIC lpeg)
if(ENABLE_LIBINTL)