aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/macros/FindBoost.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/macros/FindBoost.cmake b/cmake/macros/FindBoost.cmake
index 2962f28a376..a3a911897d8 100644
--- a/cmake/macros/FindBoost.cmake
+++ b/cmake/macros/FindBoost.cmake
@@ -384,7 +384,9 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
set (_boost_COMPILER "-il")
endif()
elseif("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
- if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
+ if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.11)
+ set(_boost_COMPILER "-vc141;-vc140;-vc1411")
+ elseif (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
set(_boost_COMPILER "-vc141;-vc140")
elseif (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
set(_boost_COMPILER "-vc140")