File tree Expand file tree Collapse file tree 5 files changed +22
-5
lines changed
Expand file tree Collapse file tree 5 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index 2fc6152..b953f8c 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -82,7 +82,7 @@ if (MSVC)
6+ message(STATUS "Build windows dynamic libs.")
7+ else()
8+ # Add this to build windows pure static library.
9+ - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
10+ + # set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
11+ message(STATUS "Build windows static libs.")
12+ endif()
13+ endif()
Original file line number Diff line number Diff line change 1- vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2-
31vcpkg_from_github(
42 OUT_SOURCE_PATH SOURCE_PATH
53 REPO libcpr/cpr
64 REF ${VERSION}
7- SHA512 cde62f13b43bad143695e54f5f69dfd250be52d2f6a76ebb3fde3db1e1059eb3c2e9d62e71f4c90f98a33f0053aea7c97bf55d8a7fa8584a37298e6a1bc3b18a
5+ SHA512 30caf9257e5e45f809f541a32daf8c6c7001fbaafef0ee0ae8dd59f49736953120cb7c8849ddbff2f7fbc54d80902ec2b905f90f68f63d1f2a2dc63eda577713
86 HEAD_REF master
97 PATCHES
108 disable_werror.patch
9+ fix-static -build .patch
1110)
1211
1312vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Original file line number Diff line number Diff line change 11{
22 "name" : " cpr" ,
3- "version-semver" : " 1.11.1 " ,
3+ "version-semver" : " 1.11.2 " ,
44 "description" : " C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project." ,
55 "homepage" : " https://github.com/libcpr/cpr" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 20172017 "port-version" : 0
20182018 },
20192019 "cpr" : {
2020- "baseline" : " 1.11.1 " ,
2020+ "baseline" : " 1.11.2 " ,
20212021 "port-version" : 0
20222022 },
20232023 "cpu-features" : {
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " 36cfe399344149cbea14eece7277207823c26f76" ,
5+ "version-semver" : " 1.11.2" ,
6+ "port-version" : 0
7+ },
38 {
49 "git-tree" : " dc36316122f82687e1e66ca48958296b16495e42" ,
510 "version-semver" : " 1.11.1" ,
You can’t perform that action at this time.
0 commit comments