From e3ea7f8093123646b2dcb337ccc8283ede1fdb76 Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Wed, 22 Apr 2015 12:17:18 +0200 Subject: [PATCH] use boost 1.54 with travis --- .travis.yml | 3 ++- src/CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 765d4af..f6c6e0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f177b36..8850707 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost 1.46 REQUIRED) +find_package(Boost 1.54 REQUIRED) include_directories( ${CMAKE_SOURCE_DIR}/include diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9ead276..1ea0291 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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}