summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-04-21 15:44:59 +0200
committerChristian Beier <dontmind@freeshell.org>2017-04-21 15:45:45 +0200
commit21ac08038395adf6419f9acf3a19e27b90b01bdf (patch)
tree71d7cc1c4a7990abd18f25fcc1b186fd060416c9
parent5e6a0daed54eaaff4dbf912dad180cac0ab492b2 (diff)
downloadlibtdevnc-21ac08038395adf6419f9acf3a19e27b90b01bdf.tar.gz
libtdevnc-21ac08038395adf6419f9acf3a19e27b90b01bdf.zip
TravisCI: point OSX CMake to OpenSSL root dir
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 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