summaryrefslogtreecommitdiffstats
path: root/docs/quickstart-cmake.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/quickstart-cmake.md')
-rw-r--r--docs/quickstart-cmake.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quickstart-cmake.md b/docs/quickstart-cmake.md
index 4e422b7..bcdb1b5 100644
--- a/docs/quickstart-cmake.md
+++ b/docs/quickstart-cmake.md
@@ -10,7 +10,7 @@ this tutorial as a starting point. If your project uses Bazel, see the
To complete this tutorial, you'll need:
* A compatible operating system (e.g. Linux, macOS, Windows).
-* A compatible C++ compiler that supports at least C++14.
+* A compatible C++ compiler that supports at least C++17.
* [CMake](https://cmake.org/) and a compatible build tool for building the
project.
* Compatible build tools include
@@ -52,8 +52,8 @@ To do this, in your project directory (`my_project`), create a file named
cmake_minimum_required(VERSION 3.14)
project(my_project)
-# GoogleTest requires at least C++14
-set(CMAKE_CXX_STANDARD 14)
+# GoogleTest requires at least C++17
+set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(FetchContent)