Skip to content

Commit

Permalink
- add support for Visual Studio 2019 (16) (conan-io#117)
Browse files Browse the repository at this point in the history
Signed-off-by: SSE4 <[email protected]>
  • Loading branch information
SSE4 authored and memsharded committed May 3, 2019
1 parent 2d4bcdf commit 912e8e8
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 @@ -52,6 +52,8 @@ function(_get_msvc_ide_version result)
set(${result} 14 PARENT_SCOPE)
elseif(NOT MSVC_VERSION VERSION_LESS 1910 AND MSVC_VERSION VERSION_LESS 1920)
set(${result} 15 PARENT_SCOPE)
elseif(NOT MSVC_VERSION VERSION_LESS 1920 AND MSVC_VERSION VERSION_LESS 1930)
set(${result} 16 PARENT_SCOPE)
else()
message(FATAL_ERROR "Conan: Unknown MSVC compiler version [${MSVC_VERSION}]")
endif()
Expand Down

0 comments on commit 912e8e8

Please sign in to comment.