Change C++11 requirement to C++14
Version 1.13.x and later require C++14. Also fix missing closing backtick.
This commit is contained in:
parent
9b12f749fa
commit
124bc587f0
@ -124,10 +124,10 @@ match the project in which it is included.
|
|||||||
|
|
||||||
#### C++ Standard Version
|
#### C++ Standard Version
|
||||||
|
|
||||||
An environment that supports C++11 is required in order to successfully build
|
An environment that supports C++14 is required in order to successfully build
|
||||||
GoogleTest. One way to ensure this is to specify the standard in the top-level
|
GoogleTest. One way to ensure this is to specify the standard in the top-level
|
||||||
project, for example by using the `set(CMAKE_CXX_STANDARD 11)` command along
|
project, for example by using the `set(CMAKE_CXX_STANDARD 14)` command along
|
||||||
with `set(CMAKE_CXX_STANDARD_REQUIRED ON). If this is not feasible, for example
|
with `set(CMAKE_CXX_STANDARD_REQUIRED ON)`. If this is not feasible, for example
|
||||||
in a C project using GoogleTest for validation, then it can be specified by
|
in a C project using GoogleTest for validation, then it can be specified by
|
||||||
adding it to the options for cmake via the`-DCMAKE_CXX_FLAGS` option.
|
adding it to the options for cmake via the`-DCMAKE_CXX_FLAGS` option.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user