From c1a05f61122de6e4b78371b8bfc08914eccffed5 Mon Sep 17 00:00:00 2001 From: Gregory Anders <8965202+gpanders@users.noreply.github.com> Date: Thu, 2 Nov 2023 12:34:16 -0700 Subject: [PATCH] build: make the vimdoc generation depend on the nvim target (#25876) The gen_vimdoc.py script uses the nvim executable, so the executable must be built before running the script. --- src/nvim/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index e675edae5c..12614ef60a 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -913,7 +913,10 @@ glob_wrapper(LUA_SOURCES add_custom_command( OUTPUT ${VIMDOC_FILES} COMMAND ${PROJECT_SOURCE_DIR}/scripts/gen_vimdoc.py - DEPENDS ${API_SOURCES} ${LUA_SOURCES} + DEPENDS + nvim + ${API_SOURCES} + ${LUA_SOURCES} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} )