We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ff03b commit 159ddcdCopy full SHA for 159ddcd
conan.cmake
@@ -55,7 +55,7 @@ function(_get_msvc_ide_version result)
55
set(${result} 15 PARENT_SCOPE)
56
elseif(NOT MSVC_VERSION VERSION_LESS 1920 AND MSVC_VERSION VERSION_LESS 1930)
57
set(${result} 16 PARENT_SCOPE)
58
- elseif(NOT MSVC_VERSION VERSION_LESS 1930 AND MSVC_VERSION VERSION_LESS 1940)
+ elseif(NOT MSVC_VERSION VERSION_LESS 1930 AND MSVC_VERSION VERSION_LESS_EQUAL 1940)
59
set(${result} 17 PARENT_SCOPE)
60
else()
61
message(FATAL_ERROR "Conan: Unknown MSVC compiler version [${MSVC_VERSION}]")
0 commit comments