From 21874afb872a6bef69e2034d93e4dbc6fedcd74f Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Sat, 29 Nov 2025 23:20:27 +0100 Subject: [PATCH] Downgrade sol2 and force windows ver to 10 --- CMakeLists.txt | 3 ++- vcpkg.json | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71fe053..67e758d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,7 +148,8 @@ if(UNIX) endif(UNIX) if (WIN32) - add_compile_options("-D_WIN32_WINNT=0x0601") + add_compile_definitions(_WIN32_WINNT=0x0A00) + add_compile_options("/bigobj") endif(WIN32) diff --git a/vcpkg.json b/vcpkg.json index cc7e74f..3809482 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -15,5 +15,12 @@ "rapidjson", "sol2", "curl" - ] + ], + "overrides": [ + { + "name": "sol2", + "version": "3.3.1" + } + ], + "builtin-baseline": "5bf0c55239da398b8c6f450818c9e28d36bf9966" }