diff --git a/CMakeLists.txt b/CMakeLists.txt index d256e0a..914be2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.0) project(libpgfe VERSION 0.3.0) set(CMAKE_C_STANDARD 11) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) set(CMAKE_C_COMPILER clang) set(CMAKE_CXX_COMPILER clang++) diff --git a/README.md b/README.md index a1e204f..64e0002 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Since v0.2.0, **libpgfe** has been "self-sufficient" and does not depend on any | Item | Content | | :----------- | :------------------ | | C Standard | [C11 (ISO/IEC 9899:2011)](https://en.wikipedia.org/wiki/C11_(C_standard_revision)) | -| C++ Standard | [C++11 (ISO/IEC 14882:2011)](https://en.wikipedia.org/wiki/C%2B%2B11) | +| C++ Standard | [C++14 (ISO/IEC 14882:2014)](https://en.wikipedia.org/wiki/C++14) | | Compiler | LLVM Clang | | License | BSD 3-Clause | diff --git a/meta.mak b/meta.mak index 8946c7d..f71c03a 100644 --- a/meta.mak +++ b/meta.mak @@ -38,7 +38,7 @@ LIB_DIR := /usr/lib CC := clang CXX := clang++ STD := c11 -STD_CPP := c++11 +STD_CPP := c++14 STD_OPTION := -std=$(STD) STD_CPP_OPTION := -std=$(STD_CPP)