diff --git a/cmake/Config.cmake b/cmake/Config.cmake index 4bba794d..dad68128 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -104,6 +104,8 @@ if(MSVC) set(SFML_MSVC_VERSION 15) elseif(MSVC_VERSION LESS_EQUAL 1929) set(SFML_MSVC_VERSION 16) + elseif(MSVC_VERSION LESS_EQUAL 1939) + set(SFML_MSVC_VERSION 17) endif() elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(SFML_COMPILER_CLANG 1)