diff --git a/BoostDetectToolset.cmake b/BoostDetectToolset.cmake index 6bc51d4..4ce9f8d 100644 --- a/BoostDetectToolset.cmake +++ b/BoostDetectToolset.cmake @@ -89,7 +89,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) elseif(MSVC) - if((MSVC_VERSION GREATER 1929) AND (MSVC_VERSION LESS 1940)) + if((MSVC_VERSION GREATER 1929) AND (MSVC_VERSION LESS 1950)) set(BOOST_DETECTED_TOOLSET "vc143")