Skip to content

Commit

Permalink
build: set CMAKE_CXX_STANDARD to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Dec 25, 2023
1 parent 6c6011b commit 5caa4fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(NOT_SUBPROJECT TRUE)
endif()

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Initialize CPM.cmake
include(cmake/CPM.cmake)

Expand Down

0 comments on commit 5caa4fb

Please # to comment.