Add OPENSSL_INCLUDE_DIR env

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

View File

@ -5,6 +5,7 @@ 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"
- export OPENSSL_INCLUDE_DIR="/usr/local/opt/openssl/include"
- 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