mirror of
https://github.com/neovim/neovim.git
synced 2025-01-02 17:33:28 -07:00
Merge pull request #5466 from jszakmeister/fix-generated-files-for-in-tree-build
Fix generated files for in-tree build.
This commit is contained in:
commit
f098e53e6f
@ -156,7 +156,7 @@ foreach(sfile ${NEOVIM_SOURCES}
|
||||
${GENERATED_API_DISPATCH})
|
||||
get_filename_component(full_d ${sfile} PATH)
|
||||
file(RELATIVE_PATH d "${PROJECT_SOURCE_DIR}/src/nvim" "${full_d}")
|
||||
if(${d} MATCHES "^[.][.]")
|
||||
if(${d} MATCHES "^([.][.]|auto/)")
|
||||
file(RELATIVE_PATH d "${GENERATED_DIR}" "${full_d}")
|
||||
endif()
|
||||
get_filename_component(f ${sfile} NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user