aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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}
)