From c49dac7cd36972571f1b8b60367e336842e13bec Mon Sep 17 00:00:00 2001 From: b-r-o-c-k Date: Sat, 17 Mar 2018 16:20:32 -0500 Subject: [PATCH] build: Fix CMake target dependency problem nvim was being ran before its runtime dependencies were copied. --- runtime/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index b3907fdf37..0ae7c231af 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -42,6 +42,7 @@ foreach(PACKAGE ${PACKAGES}) nvim WORKING_DIRECTORY "${GENERATED_PACKAGE_DIR}/${PACKNAME}" ) + add_dependencies(${PACKNAME}-tags nvim_runtime_deps) add_custom_command(OUTPUT "${GENERATED_PACKAGE_DIR}/${PACKNAME}/doc/tags" DEPENDS @@ -80,6 +81,7 @@ add_custom_target(helptags nvim WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}" ) +add_dependencies(helptags nvim_runtime_deps) add_custom_command(OUTPUT ${GENERATED_HELP_TAGS} DEPENDS