commit | 5bfe33f09203448caaf22cea24427692ea295112 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Noël <jbnoel@gopro.com> | Mon Aug 29 19:40:10 2022 +0200 |
committer | Brad King <brad.king@kitware.com> | Thu Sep 01 11:21:43 2022 -0400 |
tree | e4d9cffce8b17ab784543f28c3b2260e2ced3cdd | |
parent | 8ac6634b2f4ffdafd0b167efc4d17e9dd8bbf212 [diff] |
CMakeFindFrameworks: Fix Brew 'Frameworks' path on Apple Silicon This approach is compatible with both Intel and Apple Silicon architectures. `/usr/local/Frameworks` was added in commit 9970cdcb59 (CMakeFindFrameworks: Allow custom framework locations, 2016-07-30, v3.7.0-rc1~296^2) unconditionally, but does not work on Apple Silicon. ``` x86_64 (Intel macOS): $ brew --prefix /usr/local arm64 (Apple Silicon macOS): $ brew --prefix /opt/homebrew ```