From 78bc38a6c6baaffe844db0a40e13dbde0ec4fbbf Mon Sep 17 00:00:00 2001 From: Richard Date: Fri, 23 Feb 2024 18:04:02 -0700 Subject: [PATCH] Bump C++ standard to 17 Initializing expression in 'if' statement --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a3b8b0..acf95f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22) project(trn VERSION 5.0.0 LANGUAGES C CXX) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")