Travis: Fix detection of OpenSSL on macOS
@@ -111,6 +111,8 @@ before_install:
brew install libuv
brew install lua
brew install openssl
+ export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
+ ln -s /usr/local/opt/openssl/include/openssl/ /usr/local/include/openssl
brew install python@2; brew link --overwrite python@2
brew install python || brew upgrade python
# Since Qt 5.10.1 GCC is unable to compile the Qt-GUI under macOS printing the following error message:
@@ -178,7 +180,6 @@ before_script:
python3_ver=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') && \
CMAKE_OPT+=("-DPYTHON_INCLUDE_DIR:PATH=$(python3-config --prefix)/include/python${python3_ver}m") && \
CMAKE_OPT+=("-DPYTHON_LIBRARY:FILEPATH=$(python3-config --prefix)/lib/libpython${python3_ver}.dylib")
- ln -s /usr/local/opt/openssl/include/openssl/ /usr/local/include/openssl
fi
- >
cmake
