FindBoost: Update support for 1.64

Update the Boost library name mangling used for VS 2017 to match a
change made to Boost upstream (vc1410 => vc141).
This commit is contained in:
Mateusz Łoskot
2017-03-22 15:16:52 +01:00
committed by Brad King
parent 6bd28fd235
commit 9b2f8a82e5

View File

@@ -428,7 +428,7 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
set(_boost_COMPILER "-ghs")
elseif("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
set(_boost_COMPILER "-vc1410")
set(_boost_COMPILER "-vc141")
elseif (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
set(_boost_COMPILER "-vc140")
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18)