File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_download_distfile (PATCH_PR_1820
2
+ URLS https://github.com/microsoft/cpprestsdk/commit/396259a0f88e6f908c6d841f13c113d5f0d0ec26.patch
3
+ SHA512 2235feddc11633041eb27fadb154515c2270d2f187f3bab4cac3f0b73f7ff034a56d4540700ccae36be216f480915da5203b660f9401e371999dbce888a421bf
4
+ FILENAME char_traits.patch
5
+ )
6
+
1
7
vcpkg_from_github (
2
8
OUT_SOURCE_PATH SOURCE_PATH
3
9
REPO Microsoft/cpprestsdk
@@ -11,6 +17,7 @@ vcpkg_from_github(
11
17
fix-clang-dllimport.patch # workaround for https://github.com/microsoft/cpprestsdk/issues/1710
12
18
silence-stdext-checked-array-iterators-warning.patch
13
19
fix-asio-error.patch
20
+ ${PATCH_PR_1820}
14
21
)
15
22
16
23
vcpkg_check_features (
@@ -35,6 +42,7 @@ vcpkg_cmake_configure(
35
42
-DCPPREST_EXPORT_DIR=share/cpprestsdk
36
43
-DWERROR=OFF
37
44
-DPKG_CONFIG_EXECUTABLE=FALSE
45
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
38
46
OPTIONS_DEBUG
39
47
-DCPPREST_INSTALL_HEADERS=OFF
40
48
)
You can’t perform that action at this time.
0 commit comments