diff --git a/CMakeLists.txt b/CMakeLists.txt index 1123c55..4bf6520 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -555,7 +555,7 @@ else() list(GET _VS_PLATFORM_TOOLSET 0 _VS_PLATFORM_TOOLSET_VERSION) list(GET _VS_PLATFORM_TOOLSET 1 _VS_PLATFORM_TOOLSET_TARGET) math(EXPR _VS_PLATFORM_TOOLSET_VERSION "${_VS_PLATFORM_TOOLSET_VERSION}/10") - set(_VS_PLATFORM_TOOLSET_VERSION "${_VS_PLATFORM_TOOLSET_VERSION}.0") + set(_VS_PLATFORM_TOOLSET_VERSION "${_VS_PLATFORM_TOOLSET_VERSION}.3") set(BOOST_CONFIGURE_FLAGS debug-store=database ) @@ -570,6 +570,7 @@ else() list(APPEND BOOST_CONFIGURE_FLAGS define=BOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_VISTA) endif() set(BOOST_TOOLSET msvc-${_VS_PLATFORM_TOOLSET_VERSION}) + message(STATUS "Boost toolset is msvc-${_VS_PLATFORM_TOOLSET_VERSION} for ${CMAKE_VS_PLATFORM_TOOLSET}") set(BOOST_OSX_SYSROOT "") endif() @@ -617,7 +618,7 @@ ExternalProject_Add(boost BUILD_COMMAND /b2 install toolset=${BOOST_TOOLSET} -j${BOOST_PARALLEL_JOBS} - -d + -d 2 --layout=system # ToDo: Remove --no-cmake-config in boost 1.71 --no-cmake-config