summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorMateusz Łoskot <mateusz@loskot.net>2017-03-22 14:16:52 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-22 14:49:17 (GMT)
commit9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (patch)
tree6ae17830790cecbc0a76a9dba4c6d70661b152bc /Modules/FindBoost.cmake
parent6bd28fd235f75d150b1a4849c5b134f5e2766764 (diff)
downloadCMake-9b2f8a82e54538f7132d2e8903c7cc960b6864f7.zip
CMake-9b2f8a82e54538f7132d2e8903c7cc960b6864f7.tar.gz
CMake-9b2f8a82e54538f7132d2e8903c7cc960b6864f7.tar.bz2
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).
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 7e42c10..2886381 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -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)