From 9200a8e98b5b3f28b8b7dfabba65cb2bff464e34 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 25 Sep 2018 14:25:02 +0100 Subject: [PATCH] Better attempt at fixing mac travis. --- travis-configure.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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