aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-08 00:23:39 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-08 00:23:39 +0700
commitb7bd9bb903d38374b6499fc91517a0fdf27ab9a8 (patch)
treee7298b1269678fa285ed3c585280be877fc6d656 /CMakeLists.txt
parent261c7f3de0dd7b19bd259bb9c3620cbb9dc14ff1 (diff)
Move to newer C++17 language standard
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 327958f4..8c6eb80e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.24)
project(MinecraftConsoles LANGUAGES C CXX RC ASM_MASM)
+set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_EXTENSIONS OFF)
if(NOT WIN32)
message(FATAL_ERROR "This CMake build currently supports Windows only.")