mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Add support for Visual Studio 2022
- References: https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html
This commit is contained in:
parent
c90d308b45
commit
eeeda74ec1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user