From 64807303df34318c075a6c9ba1e9ee350135748f Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Fri, 31 Jan 2020 23:40:02 +0100 Subject: build: include tree-sitter-c parser in bundled build --- src/nvim/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 089dd537e9..29427c7d08 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -546,6 +546,11 @@ else() endif() set_target_properties(nvim_runtime_deps PROPERTIES FOLDER deps) +file(COPY ${DEPS_PREFIX}/lib/nvim/parser DESTINATION ${PROJECT_BINARY_DIR}/lib/nvim/) +install(DIRECTORY ${PROJECT_BINARY_DIR}/lib/nvim/ + DESTINATION ${CMAKE_INSTALL_LIBDIR}/nvim/ + USE_SOURCE_PERMISSIONS) + add_library( libnvim STATIC -- cgit