Skip to content

Commit

Permalink
Add VS 17 2022 support (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE authored Sep 9, 2021
1 parent 168a941 commit 7f9fe6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ function(_get_msvc_ide_version result)
set(${result} 15 PARENT_SCOPE)
elseif(NOT MSVC_VERSION VERSION_LESS 1920 AND MSVC_VERSION VERSION_LESS 1930)
set(${result} 16 PARENT_SCOPE)
elseif(NOT MSVC_VERSION VERSION_LESS 1930 AND MSVC_VERSION VERSION_LESS 1940)
set(${result} 17 PARENT_SCOPE)
else()
message(FATAL_ERROR "Conan: Unknown MSVC compiler version [${MSVC_VERSION}]")
endif()
Expand Down

0 comments on commit 7f9fe6d

Please sign in to comment.