Brew is now refusing to execute the command brew link --force openssl with the following error:
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
Running cmake like this resolved the issue:
OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake .
The documentation should be updated to reflect this change.
Brew is now refusing to execute the command
brew link --force opensslwith the following error:Running
cmakelike this resolved the issue:The documentation should be updated to reflect this change.