From 3f188bc533bc22f1d13dce33ab5d63973c3ff22a Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 21 Jan 2024 13:08:13 +0100 Subject: build: fix parser installation location Cmake's `install()` functions like rsync where a trailing slash changes whether the directory or its contents will be copies. --- src/nvim/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 451ab7c303..283be18ae7 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -768,7 +768,7 @@ if(EXISTS ${DEPS_PREFIX}/lib/nvim/parser) endif() install(DIRECTORY ${BINARY_LIB_DIR} - DESTINATION ${CMAKE_INSTALL_LIBDIR}/nvim/ + DESTINATION ${CMAKE_INSTALL_LIBDIR} USE_SOURCE_PERMISSIONS) if(NOT PREFER_LUA) -- cgit