From abf5336304ad7df85bbca2289a61b7799029fa1b Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 2 Aug 2018 14:47:03 +0100 Subject: [PATCH] ci: set PKG_CONFIG_PATH on travis Homebrew's formula for openssl is "keg-only", which means it does not install it into /usr/local. On macOS builds, we need to set PKG_CONFIG_PATH to include it. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 16f6ca5a42a..09fcdc73cf0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ env: - MBEDTLS_DIR=/tmp/mbedtls - SKIP_APT=1 - SKIP_MBEDTLS_INSTALL=1 + - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig matrix: - CMAKE_OPTIONS="-DTHREADSAFE=ON -DENABLE_TRACE=ON -DCMAKE_BUILD_TYPE=Release" - CMAKE_OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"