Skip to content

Commit

Permalink
fix msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Aug 14, 2024
1 parent 1138159 commit 3ff443c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (has_cxx_std_20)
set(has_cxx_std_20 FALSE)
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 1930)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.30)
set(has_cxx_std_20 FALSE)
endif()
endif()
Expand Down

0 comments on commit 3ff443c

Please sign in to comment.