aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-09 23:02:08 -0500
committerGitHub <noreply@github.com>2020-11-09 23:02:08 -0500
commitbb7ed42089e77feebe26b94f4cb46c72254b55e6 (patch)
tree4270f7bf406c67a5d7fbe3f25586ab152febb8a0 /cmake
parentf67b3ea39c9e238be208715a9cd4c15e24c35a9d (diff)
parent1451b1487355e3186d857919c4009934f247064d (diff)
downloadrneovim-bb7ed42089e77feebe26b94f4cb46c72254b55e6.tar.gz
rneovim-bb7ed42089e77feebe26b94f4cb46c72254b55e6.tar.bz2
rneovim-bb7ed42089e77feebe26b94f4cb46c72254b55e6.zip
Merge pull request #13263 from jamessan/tree-sitter-detect
Align naming of FindTreeSitter cmake file and variables
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindTreeSitter.cmake11
-rw-r--r--cmake/FindTreesitter.cmake11
2 files changed, 11 insertions, 11 deletions
diff --git a/cmake/FindTreeSitter.cmake b/cmake/FindTreeSitter.cmake
new file mode 100644
index 0000000000..ae0928e9f7
--- /dev/null
+++ b/cmake/FindTreeSitter.cmake
@@ -0,0 +1,11 @@
+# - Try to find tree-sitter
+# Once done, this will define
+#
+# TreeSitter_FOUND - system has tree-sitter
+# TreeSitter_INCLUDE_DIRS - the tree-sitter include directories
+# TreeSitter_LIBRARIES - link these to use tree-sitter
+
+include(LibFindMacros)
+
+libfind_pkg_detect(TreeSitter tree-sitter FIND_PATH tree_sitter/api.h FIND_LIBRARY tree-sitter)
+libfind_process(TreeSitter)
diff --git a/cmake/FindTreesitter.cmake b/cmake/FindTreesitter.cmake
deleted file mode 100644
index 8ba3b72d28..0000000000
--- a/cmake/FindTreesitter.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
-# - Try to find tree-sitter
-# Once done, this will define
-#
-# TREESITTER_FOUND - system has tree-sitter
-# TREESITTER_INCLUDE_DIRS - the tree-sitter include directories
-# TREESITTER_LIBRARIES - link these to use tree-sitter
-
-include(LibFindMacros)
-
-libfind_pkg_detect(TREESITTER tree-sitter FIND_PATH tree_sitter/api.h FIND_LIBRARY tree-sitter)
-libfind_process(TREESITTER)