Skip to content
Snippets Groups Projects
Commit c38dbd5c authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Seems like openssl is still needed for hunter build?

parent 5c97b69d
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,15 @@ fi
if [ $TRAVIS_OS_NAME == osx ]; then
# Build the library.
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl
cmake -H. -Bbuild \
-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \
-DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include \
-DBUILD_LIB_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DHUNTER_ENABLED=ON \
-DHUNTER_ROOT=/tmp/.deps \
-DUSE_BUNDLED_OPENSSL=OFF \
-DUSE_BUNDLED_GTEST=OFF || true
cmake --build build
......
......@@ -21,6 +21,7 @@ matrix:
packages:
- clang-format
- ninja
- openssl
- os: linux
compiler: gcc
env:
......
......@@ -14,8 +14,9 @@ option(HUNTER_ENABLED "Enable Hunter package manager" OFF)
include("cmake/HunterGate.cmake")
#set(HUNTER_ENABLED OFF)
HunterGate(
URL "https://github.com/cpp-pm/hunter/archive/v0.23.242.tar.gz"
SHA1 "503b149d0ebdbc598e498f1669ae828a2136b838"
URL "https://github.com/cpp-pm/hunter/archive/v0.23.244.tar.gz"
SHA1 "2c0f491fd0b80f7b09e3d21adb97237161ef9835"
LOCAL
)
option(USE_BUNDLED_BOOST "Use the bundled version of Boost." ${HUNTER_ENABLED})
......
hunter_config(Boost VERSION 1.70.0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment