From 1451b1487355e3186d857919c4009934f247064d Mon Sep 17 00:00:00 2001 From: James McCoy Date: Mon, 9 Nov 2020 15:15:03 -0500 Subject: 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 --- src/nvim/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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} ) -- cgit