summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-07-16 22:20:16 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-07-16 22:20:16 +0300
commit9f0a1aa2046c12444806f0d6bd814af8c4451c67 (patch)
treef5d6949d6df87ffd033fa3cde6edf3b8038c6765
parent13773926c8a4f3e37aef7eff33d022eb839e00a3 (diff)
Fix building on gcc 4.6
-rwxr-xr-xCMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eadb672..42c7f16 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8.4)
project(TgBot)
### options
@@ -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