diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d787a7b2..c61c5b606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,10 @@ cmake_minimum_required(VERSION 3.19) # Set the project name project (Orbiter VERSION 21.7.24) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + # Allow building targets as external projects include(ExternalProject)