Better attempt at fixing mac travis.

This commit is contained in:
Roger A. Light 2018-09-25 14:25:02 +01:00
parent e3bfb1795e
commit 9200a8e98b

View File

@ -1,7 +1,5 @@
#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
cmake .
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .
fi