blob: df17254992c7478c9f54aba7e3c509d666724a02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
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 71fe053b..67e758d6 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 cc7e74f8..3809482c 100644
--- a/vcpkg.json
+++ b/vcpkg.json
@@ -15,5 +15,12 @@
"rapidjson",
"sol2",
"curl"
- ]
+ ],
+ "overrides": [
+ {
+ "name": "sol2",
+ "version": "3.3.1"
+ }
+ ],
+ "builtin-baseline": "5bf0c55239da398b8c6f450818c9e28d36bf9966"
}
|