Change OPENSSL_ROOT_DIR

This commit is contained in:
Mészáros Mihály 2021-04-07 23:52:02 +02:00 committed by GitHub
parent e1bb2e32f6
commit bc246843b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ language: cpp
before_install:
- export CPPFLAGS="$CPPFLAGS -I/usr/local/opt/openssl/include"
- export LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib"
- export OPENSSL_ROOT_DIR="/usr/local/opt/openssl"
- export OPENSSL_ROOT_DIR="/usr/local/opt"
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated openssl || brew upgrade openssl; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink protobuf; fi