mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +00:00

Fixes an issue discovered with Nix where codesign is executed but Nix cannot use codesign without faults. Use `find_program` in CMake to ensure it is in `$PATH`. Can be tested on macOS and change your path in such a way that `codesign` isn't in it. Related: https://github.com/NixOS/nixpkgs/pull/329058