summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-19 12:24:09 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-19 12:24:09 +0100
commitef699ea4d7d8874397413f09d63049be89d7329a (patch)
tree0efb9d81d3ad7c953d16f0475a625cdc09e93e04 /CMakeLists.txt
parent7b97551741638838332ab7566d932200830f018d (diff)
downloadrspamd-ef699ea4d7d8874397413f09d63049be89d7329a.tar.gz
rspamd-ef699ea4d7d8874397413f09d63049be89d7329a.zip
[Rework] Switch minimum C++ standard version to C++20
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf862f500..40d88b8bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@ CMAKE_POLICY(SET CMP0075 NEW)
# This is supported merely with cmake 3.1
SET(CMAKE_C_STANDARD 11)
-SET(CMAKE_CXX_STANDARD 17)
+SET(CMAKE_CXX_STANDARD 20)
SET(CMAKE_C_STANDARD_REQUIRED ON)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/")