diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-01 10:28:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-01 10:28:08 +0200 |
commit | 2a152dfcca73a848a5a965d0e97b762d9fb725bb (patch) | |
tree | a0fc1e879d6b17899dbaa837f6dfad1146252e44 /cmake/opentrack-platform.cmake | |
parent | b8f8814cf98486bb17c4b15401a02bc47383e2b4 (diff) |
cmake: switch to c++14
We need std::begin/end return constant iterators for const sequences.
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 23558981..7357a987 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -51,7 +51,7 @@ if(APPLE) endif() if(CMAKE_COMPILER_IS_GNUCXX OR APPLE) - set(CMAKE_CXX_FLAGS " -std=c++11 ${CMAKE_CXX_FLAGS} ") + set(CMAKE_CXX_FLAGS " -std=c++14 ${CMAKE_CXX_FLAGS} ") endif() set_property(GLOBAL PROPERTY USE_FOLDERS OFF) |