diff --git a/cmake/build.cmake b/cmake/build.cmake index 1bda195f8..b042acaf0 100644 --- a/cmake/build.cmake +++ b/cmake/build.cmake @@ -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()