aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-06-12 17:04:58 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-06-28 19:47:39 +0200
commit32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e (patch)
treed5d4af25bf0bbc19bcdbb66e2d0e79b9102ef26f /src
parent46187117c9464dd6c09eae8e47bb279d72a01038 (diff)
downloadrneovim-32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e.tar.gz
rneovim-32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e.tar.bz2
rneovim-32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 937cfaaa31..950e4d54a0 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -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)