From 21ac08038395adf6419f9acf3a19e27b90b01bdf Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 21 Apr 2017 15:44:59 +0200 Subject: TravisCI: point OSX CMake to OpenSSL root dir --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 077dc84..afcb8d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ compiler: - clang before_install: -- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; fi' - | if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" @@ -23,7 +22,7 @@ before_install: script: - mkdir build - cd build - - cmake .. + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi - cmake --build . - ctest --output-on-failure -- cgit v1.2.1