Dep/Boost: Set boost msvc version on Windows to 14.2

14.2 is the only supported one (Visual Studio 2019)

(cherry picked from commit 2ea511b9f4)
This commit is contained in:
jackpoz
2020-07-28 15:05:12 +02:00
committed by Shauren
parent 8350985975
commit 10e3016e85

View File

@@ -13,8 +13,7 @@ if(WIN32)
if(DEFINED ENV{BOOST_ROOT})
set(BOOST_ROOT $ENV{BOOST_ROOT})
list(APPEND BOOST_LIBRARYDIR
${BOOST_ROOT}/lib${PLATFORM}-msvc-14.2
${BOOST_ROOT}/lib${PLATFORM}-msvc-14.1 )
${BOOST_ROOT}/lib${PLATFORM}-msvc-14.2 )
elseif(NOT DEFINED Boost_DIR AND NOT DEFINED BOOST_ROOT AND NOT DEFINED BOOSTROOT)
message(FATAL_ERROR "No BOOST_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation.")
endif()