aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-01-31 23:40:02 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-02-07 09:22:55 +0100
commit64807303df34318c075a6c9ba1e9ee350135748f (patch)
treee503cc50f423af0fb3fb6718c942aec199a3a326 /src
parentc5b812c9eab5397f4c898fe4b0a7a1f186fae82c (diff)
downloadrneovim-64807303df34318c075a6c9ba1e9ee350135748f.tar.gz
rneovim-64807303df34318c075a6c9ba1e9ee350135748f.tar.bz2
rneovim-64807303df34318c075a6c9ba1e9ee350135748f.zip
build: include tree-sitter-c parser in bundled build
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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