diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rwxr-xr-x | CMakeLists.txt | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 98a0a22..7ed6fa1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,5 @@ script: before_script: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq - - sudo apt-get install -qq libboost-all-dev gcc-4.7 g++-4.7 -notifications: - email: - recipients: - - reo7sp@reo7sp.ru - on_success: change - on_failure: always + - sudo apt-get install -qq libboost-all-dev gcc-4.9 g++-4.9 + - export CXX="g++-4.9" CC="gcc-4.9" diff --git a/CMakeLists.txt b/CMakeLists.txt index 37cf3bb..42c7f16 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ option(ENABLE_TESTS "Set to ON to enable building of tests" OFF) option(ENABLE_SAMPLES "Set to ON to enable building of samples" OFF) ### sources -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") include_directories("${PROJECT_SOURCE_DIR}/src") set(SRC_LIST src/tgbot/Api.cpp |