use boost 1.54 with travis
This commit is contained in:
parent
64133302c6
commit
e3ea7f8093
3 changed files with 4 additions and 3 deletions
|
@ -4,8 +4,9 @@ compiler: gcc
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
- 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 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
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
find_package(Boost 1.46 REQUIRED)
|
find_package(Boost 1.54 REQUIRED)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/include
|
${CMAKE_SOURCE_DIR}/include
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
find_package(Boost 1.46 COMPONENTS program_options REQUIRED)
|
find_package(Boost 1.54 COMPONENTS program_options REQUIRED)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
|
Loading…
Reference in a new issue