{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1745396798,"commit_time":1745481857,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"c1c99054abcee3887bb7b9c3d0e1857c25276755","message":"cmake: install shell completions for cross-builds\n\nAlso:\n- omit auto-detecting `CURL_COMPLETION_FISH_DIR` via `pkg-config`\n  for cross-builds and when `CMAKE_INSTALL_PREFIX` is set.\n- flatten nested `if`s.\n\nNote:\nOn macOS with Homebrew, `pkg-config --variable completionsdir fish`\nreturns the version-specific Cellar path instead of the permanent path\n`/opt/homebrew/share/fish/vendor_completions.d/`. This mimics what\nautotools does, but may need further fixing, possibly upstream.\nhttps://github.com/Homebrew/homebrew-core/blob/9c13e62b009b8e814fda180e0fcc5096318daf31/Formula/f/fish.rb\nhttps://github.com/fish-shell/fish-shell/blob/ce631fd2fb1f5b63f5f0f1b4041a30dfad823d22/cmake/Install.cmake#L15-L21\n\nRef: #17147\nRef: 51170b52d15256d4aaf74ed6eea9a9297f5d595c #17159\nBug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103938\n\nCloses #17145\n","parents":["82606325e3a65c06985bbf621da7b360d753791e"],"tree_hash":"8abced01348289c646393a36758ee1fe3fc12a68"}