diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-11-19 20:29:34 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2016-12-12 15:32:32 +0100 |
commit | b9609c3b765f248dd8b84180c370888d25168914 (patch) | |
tree | 7de49d92caf5eb271192a194a738bbab207db2bf /SetFlags.cmake | |
parent | Use CMake's Android generators to crosscompile (diff) | |
download | cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar.gz cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar.bz2 cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar.lz cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar.xz cuberite-b9609c3b765f248dd8b84180c370888d25168914.tar.zst cuberite-b9609c3b765f248dd8b84180c370888d25168914.zip |
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r-- | SetFlags.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 7ccba4f72..18d5be236 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -87,10 +87,10 @@ macro(set_flags) add_flags_cxx("-pthread") endif() elseif (ANDROID) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") - set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++14") - set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_COVERAGE} -std=c++14") - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++14") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11") + set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_COVERAGE} -std=c++11") + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++11") add_flags_cxx("-fsigned-char") else() |