mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00

fixup! bundle: move tree-sitter as a bundled dep fixup! bundle: move tree-sitter as a bundled dep
12 lines
385 B
CMake
12 lines
385 B
CMake
# - 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)
|