diff --git a/CMakeLists.txt b/CMakeLists.txt index 1115756..069e99d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -566,11 +566,7 @@ else() else() list(APPEND BOOST_CONFIGURE_FLAGS address-model=32) endif() - if("${_VS_PLATFORM_TOOLSET_TARGET}" STREQUAL "_xp") - list(APPEND BOOST_CONFIGURE_FLAGS define=BOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_WINXP) - else() - list(APPEND BOOST_CONFIGURE_FLAGS define=BOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_VISTA) - endif() + list(APPEND BOOST_CONFIGURE_FLAGS define=BOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_WIN10) 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 "")