aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-04 06:34:24 -0700
committerChris Robinson <[email protected]>2023-05-04 06:34:24 -0700
commit471592b258d798bb706ce92c1ccd4d5794999490 (patch)
tree0b46448501133b805fb0bc18e7af48a4e4b8f38c /CMakeLists.txt
parentce588ea5a3c3ee6c7fce64ec501a03ebaca373d4 (diff)
Update to C++17
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eec2d58f..764b4590 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,8 +76,8 @@ if(NOT CMAKE_DEBUG_POSTFIX)
endif()
set(DEFAULT_TARGET_PROPS
- # Require C++14.
- CXX_STANDARD 14
+ # Require C++17.
+ CXX_STANDARD 17
CXX_STANDARD_REQUIRED TRUE
# Prefer C11, but support C99 and earlier when possible.
C_STANDARD 11)