Skip to content

Commit e847c44

Browse files
committed
Update C++ requirement to C++20
1 parent bd7fd79 commit e847c44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
1+
# Copyright (C) 2016-2025 by Sascha Willems - www.saschawillems.de
22
# This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
33

44
cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
@@ -137,7 +137,7 @@ endif()
137137

138138

139139
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
140-
set(CMAKE_CXX_STANDARD 14)
140+
set(CMAKE_CXX_STANDARD 20)
141141
set(CMAKE_CXX_STANDARD_REQUIRED ON)
142142

143143
file(GLOB SOURCE *.cpp )

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ git submodule update
5454

5555
## Building
5656

57-
The repository contains everything required to compile and build the examples on <img src="./images/windowslogo.png" alt="" height="22px" valign="bottom"> Windows, <img src="./images/linuxlogo.png" alt="" height="24px" valign="bottom"> Linux, <img src="./images/androidlogo.png" alt="" height="24px" valign="bottom"> Android, <img src="./images/applelogo.png" alt="" valign="bottom" height="24px"> iOS and macOS (using MoltenVK) using a C++ compiler that supports C++14.
57+
The repository contains everything required to compile and build the examples on <img src="./images/windowslogo.png" alt="" height="22px" valign="bottom"> Windows, <img src="./images/linuxlogo.png" alt="" height="24px" valign="bottom"> Linux, <img src="./images/androidlogo.png" alt="" height="24px" valign="bottom"> Android, <img src="./images/applelogo.png" alt="" valign="bottom" height="24px"> iOS and macOS (using MoltenVK) using a C++ compiler that supports C++20.
5858

5959
See [BUILD.md](BUILD.md) for details on how to build for the different platforms.
6060

0 commit comments

Comments
 (0)