mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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)
|