use boost 1.54 with travis

This commit is contained in:
Daniel Sipka 2015-04-22 12:17:18 +02:00
parent 64133302c6
commit e3ea7f8093
3 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,9 @@ compiler: gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:boost-latest/ppa -y
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libboost-all-dev g++-4.8
- sudo apt-get install -qq cmake libboost1.54-dev g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
before_script:

View File

@ -1,4 +1,4 @@
find_package(Boost 1.46 REQUIRED)
find_package(Boost 1.54 REQUIRED)
include_directories(
${CMAKE_SOURCE_DIR}/include

View File

@ -1,4 +1,4 @@
find_package(Boost 1.46 COMPONENTS program_options REQUIRED)
find_package(Boost 1.54 COMPONENTS program_options REQUIRED)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}