Add needed packages to travis

This commit is contained in:
Sebastian Messmer 2016-02-11 03:16:18 +01:00
parent cfcec05644
commit a35e164ede
2 changed files with 13 additions and 1 deletions

View File

@ -4,6 +4,18 @@ dist: trusty
compiler: compiler:
- gcc - gcc
- clang - clang
addons:
apt:
packages:
- libcrypto++-dev
install:
- wget -O boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.bz2/download
- tar -xf boost.tar.bz2
- cd boost_1_56_0
- ./bootstrap.sh --with-libraries=filesystem,thread
- sudo ./b2 -d0 install
- cd ..
- rm -rf boost.tar.bz2 boost_1_56_0
script: script:
- mkdir cmake - mkdir cmake
- cd cmake - cd cmake

View File

@ -39,7 +39,7 @@ endmacro(ENABLE_STYLE_WARNINGS)
################################################## ##################################################
function(ADD_BOOST) function(ADD_BOOST)
# Load boost libraries # Load boost libraries
find_package(Boost 1.57.0 #TODO Which min version? find_package(Boost 1.55.0 #TODO Which min version?
REQUIRED REQUIRED
COMPONENTS ${ARGN}) COMPONENTS ${ARGN})
set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_STATIC_LIBS ON)