build: use cmake to build treesitter on all platforms (#21984)

This reduces platform-specific differences and the amount of code.
This commit is contained in:
dundargoc
2023-01-24 16:43:29 +01:00
committed by GitHub
parent 51863b2d66
commit cd613712b1
3 changed files with 12 additions and 25 deletions

View File

@@ -684,8 +684,6 @@ foreach(hfile ${NVIM_GENERATED_FOR_HEADERS})
endif()
endforeach()
# Our dependencies come first.
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
target_link_libraries(main_lib INTERFACE pthread c++abi)
endif()