Skip to content

Commit

Permalink
Bump C++ standard to 17
Browse files Browse the repository at this point in the history
Initializing expression in 'if' statement
  • Loading branch information
LegalizeAdulthood committed Feb 24, 2024
1 parent e267231 commit 78bc38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 78bc38a

Please sign in to comment.