mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
3eb241d831
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)
|