diff --git a/travis-configure.sh b/travis-configure.sh index 033e9d7a..d9e55c49 100755 --- a/travis-configure.sh +++ b/travis-configure.sh @@ -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