Skip to content

Commit 6323f4c

Browse files
committed
Make CMAKE_CXX_STANDARD default to 20 if not already specified
1 parent 0c4b3d4 commit 6323f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ else()
3030
endif()
3131

3232
if (NOT DEFINED CMAKE_CXX_STANDARD)
33-
set(CMAKE_CXX_STANDARD 23)
33+
set(CMAKE_CXX_STANDARD 20)
3434
endif()
3535
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3636

0 commit comments

Comments
 (0)