aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Szakmeister <jszakmeister@users.noreply.github.com>2016-10-12 04:02:47 -0400
committerGitHub <noreply@github.com>2016-10-12 04:02:47 -0400
commitf098e53e6f38ce5b7e47a28f0448305f050d74f4 (patch)
tree886247396e07c8283c1577299444e7afb8c422ee /src
parent0190b9fb92bf81e99db0a4b5d6888b4f7eaadeb0 (diff)
parentbaaddf358b17f5a287da5bbf61d1af12fab64eb6 (diff)
downloadrneovim-f098e53e6f38ce5b7e47a28f0448305f050d74f4.tar.gz
rneovim-f098e53e6f38ce5b7e47a28f0448305f050d74f4.tar.bz2
rneovim-f098e53e6f38ce5b7e47a28f0448305f050d74f4.zip
Merge pull request #5466 from jszakmeister/fix-generated-files-for-in-tree-build
Fix generated files for in-tree build.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 59582d0734..cbea6a05c9 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -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)