mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
build: Fix CMake target dependency problem
nvim was being ran before its runtime dependencies were copied.
This commit is contained in:
parent
feee814b30
commit
c49dac7cd3
@ -42,6 +42,7 @@ foreach(PACKAGE ${PACKAGES})
|
|||||||
nvim
|
nvim
|
||||||
WORKING_DIRECTORY "${GENERATED_PACKAGE_DIR}/${PACKNAME}"
|
WORKING_DIRECTORY "${GENERATED_PACKAGE_DIR}/${PACKNAME}"
|
||||||
)
|
)
|
||||||
|
add_dependencies(${PACKNAME}-tags nvim_runtime_deps)
|
||||||
|
|
||||||
add_custom_command(OUTPUT "${GENERATED_PACKAGE_DIR}/${PACKNAME}/doc/tags"
|
add_custom_command(OUTPUT "${GENERATED_PACKAGE_DIR}/${PACKNAME}/doc/tags"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
@ -80,6 +81,7 @@ add_custom_target(helptags
|
|||||||
nvim
|
nvim
|
||||||
WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}"
|
WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}"
|
||||||
)
|
)
|
||||||
|
add_dependencies(helptags nvim_runtime_deps)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${GENERATED_HELP_TAGS}
|
add_custom_command(OUTPUT ${GENERATED_HELP_TAGS}
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
Loading…
Reference in New Issue
Block a user