mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
Fall back to the older method of setting CMAKE_EXPORT_COMPILE_COMMANDS for cmake versions less than 3.20. This isn't recommended as it's not possible to exclude targets from generating a compilation database, which may cause some tools like clang-tidy to do unnecessary work. But having an unoptimized compilation database is still useful enough that it's worth having.