Skip to content

Commit 159ddcd

Browse files
committed
VS 17.10
1 parent b0ff03b commit 159ddcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conan.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function(_get_msvc_ide_version result)
5555
set(${result} 15 PARENT_SCOPE)
5656
elseif(NOT MSVC_VERSION VERSION_LESS 1920 AND MSVC_VERSION VERSION_LESS 1930)
5757
set(${result} 16 PARENT_SCOPE)
58-
elseif(NOT MSVC_VERSION VERSION_LESS 1930 AND MSVC_VERSION VERSION_LESS 1940)
58+
elseif(NOT MSVC_VERSION VERSION_LESS 1930 AND MSVC_VERSION VERSION_LESS_EQUAL 1940)
5959
set(${result} 17 PARENT_SCOPE)
6060
else()
6161
message(FATAL_ERROR "Conan: Unknown MSVC compiler version [${MSVC_VERSION}]")

0 commit comments

Comments
 (0)