From 96c4e24b6c725bbc80df49061db806834cfe4d44 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 5 Feb 2017 19:19:15 +0100 Subject: [PATCH] Require C++14 --- README.md | 4 ++-- cmake/modules/BasicConfig.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc5530c..abb67c5 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The library utilizes: ## Build instructions ### Requirements #### Build-only dependencies -* C++ compiler supporting C++11, tested with +* C++ compiler supporting C++14, tested with - GNU g++ - Clang - mingw-w64 g++ @@ -34,7 +34,7 @@ The library utilizes: #### Runtime dependencies * The c++utilities library itself only needs - - C/C++ standard library supporting C++11 + - C/C++ standard library supporting C++14 - libiconv (might be part of glibc or provided as extra library) * For dependencies of my other projects check the README.md of these projects. diff --git a/cmake/modules/BasicConfig.cmake b/cmake/modules/BasicConfig.cmake index f40e74b..42ecb98 100644 --- a/cmake/modules/BasicConfig.cmake +++ b/cmake/modules/BasicConfig.cmake @@ -17,9 +17,9 @@ if(NOT META_GENERIC_NAME) set(META_GENERIC_NAME "${META_APP_NAME}") endif() -# set default CXX_STANDARD for all library, application and test targets to 11 +# set default CXX_STANDARD for all library, application and test targets if(NOT META_CXX_STANDARD) - set(META_CXX_STANDARD 11) + set(META_CXX_STANDARD 14) endif() # provide variables for other projects built as part of the same subdirs project