From 70995fa1dcf6a454c55171daba5f9dce366d0359 Mon Sep 17 00:00:00 2001 From: O01eg Date: Fri, 27 Dec 2024 22:35:29 +0400 Subject: [PATCH] Raise minimum Windows version to Windows 10 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 "")