Skip to content

Commit b2d478d

Browse files
committed
Fix typo
1 parent 71375fd commit b2d478d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/env.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" OR CMAKE_C_SIMULATE_ID STREQUAL "MSVC")
5454
check_c_compiler_flag(/std:c23 HAVE_FLAG_STD_C23)
5555
check_c_compiler_flag(/std:c17 HAVE_FLAG_STD_C17)
5656
# Visual Studio 2019 will have clang-12, Visual Studio will have clang-15, but cmake do not know how to set the standard for that.
57-
if(CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_VERSION VERSION_LESS 18.0)
57+
if(CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_VERSION VERSION_LESS 19.0)
5858
set(HAVE_FLAG_STD_C23 OFF)
5959
endif()
6060
else()

0 commit comments

Comments
 (0)