Skip to content

Commit

Permalink
build: Fix include issue with TreeSitter and unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
mmennuti-kdab authored and LeonMatthesKDAB committed Jul 29, 2024
1 parent f76298d commit 45eb945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ project(TreeSitter LANGUAGES C)

add_library(${PROJECT_NAME} STATIC tree-sitter/lib/src/lib.c)
target_include_directories(${PROJECT_NAME} PUBLIC tree-sitter/lib/include)
target_include_directories(${PROJECT_NAME} PRIVATE tree-sitter/lib/src)
# Always build tree-sitter with optimizations enabled. We shouldn't have to
# debug it and it's performance critical.
enable_optimizations(${PROJECT_NAME})
Expand Down

0 comments on commit 45eb945

Please sign in to comment.