aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/diagnostic.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-10-10 23:18:45 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-16 20:15:41 +0200
commitb80a8e2c16b6d6eb16ac84232c27eb7cfa4a434a (patch)
treecc6137ccacac04ae6f9d7674bfe4fc1fbf9a5bcd /runtime/lua/vim/diagnostic.lua
parenta4c4b39d55db087af19a5ed8b6a1e5ecacb0c615 (diff)
downloadrneovim-b80a8e2c16b6d6eb16ac84232c27eb7cfa4a434a.tar.gz
rneovim-b80a8e2c16b6d6eb16ac84232c27eb7cfa4a434a.tar.bz2
rneovim-b80a8e2c16b6d6eb16ac84232c27eb7cfa4a434a.zip
build: adjust how find order is prioritized
Ensure bundled libraries and include directories are always searched first before any others. This will provide a more consistent experience as the search order of the builtin find_ functions can vary depending on system. This should make the build process faster when building with bundled deps as we limit the search to only the .deps directory. Separating the search between .deps and everything makes debugging find_-related problems simpler if you need to check how dependencies are found. For libraries, we divide the search process into the following order: 1. Only search in .deps directory and only search for static libraries. 2. Only search in .deps directory and search for all libraries. 3. Search everywhere and search for all libraries. Make an exception for FindLibintl.cmake as changing the search order seems to break some tests on macos.
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions