aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-09 15:15:03 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-09 15:15:03 -0500
commit1451b1487355e3186d857919c4009934f247064d (patch)
tree0b32755968b3ae788abeca1b866bb31ced85fb04 /src
parent42ffa2d62ee714a165d56f5fa8022a32c7534d71 (diff)
downloadrneovim-1451b1487355e3186d857919c4009934f247064d.tar.gz
rneovim-1451b1487355e3186d857919c4009934f247064d.tar.bz2
rneovim-1451b1487355e3186d857919c4009934f247064d.zip
Align naming of FindTreeSitter cmake file and variables
`find_package(Foo ...)` expects to find a file FindFoo.cmake and the resulting variables to be named `Foo_...`. If those don't all match up, then the detection does not work properly. Closes #13262
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 c8783f5bfe..9b6e9fe13e 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -445,7 +445,7 @@ list(APPEND NVIM_LINK_LIBRARIES
${LIBTERMKEY_LIBRARIES}
${UNIBILIUM_LIBRARIES}
${UTF8PROC_LIBRARIES}
- ${TREESITTER_LIBRARIES}
+ ${TreeSitter_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)