Skip to content

Commit 41e3360

Browse files
committed
Working in progress on fixing travis-ci error.
1 parent a85d18d commit 41e3360

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ matrix:
77
addons:
88
apt:
99
sources:
10-
- kubuntu-backports
1110
- ubuntu-toolchain-r-test
11+
- george-edison55-precise-backports
1212
packages:
1313
- cmake
14+
- cmake-data
1415
- gcc-4.9
1516
- g++-4.9
1617
env: COMPILER=g++-4.9

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 2.8)
22

33
# Check if a supported compiler is used and add c++11 flag:
44
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
5-
# if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
6-
# message(FATAL_ERROR "Need at least gcc 4.9 to compile.")
7-
# endif()
5+
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
6+
message(FATAL_ERROR "Need at least gcc 4.9 to compile.")
7+
endif()
88
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
99
elseif(MSVC)
1010
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)

0 commit comments

Comments
 (0)