mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[libgit2] Add GIT_OPENSSL OPTION to fix setting certificate location fail (#31392)
* [libgit2] defined GIT_OPENSSL option * update version * update version * update version * update portfile.cmake * update version * remove unix restrictions * update version
This commit is contained in:
parent
0f63ba5458
commit
e8a229a233
@ -29,6 +29,10 @@ function(set_tls_backend VALUE)
|
||||
set(USE_HTTPS ${VALUE} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
if("openssl" IN_LIST FEATURES)
|
||||
list(APPEND GIT_OPTIONS "-DGIT_OPENSSL=1")
|
||||
endif()
|
||||
|
||||
foreach(GIT2_FEATURE ${FEATURES})
|
||||
if(GIT2_FEATURE STREQUAL "pcre")
|
||||
set_regex_backend("pcre")
|
||||
@ -64,6 +68,7 @@ vcpkg_cmake_configure(
|
||||
-DREGEX_BACKEND=${REGEX_BACKEND}
|
||||
-DSTATIC_CRT=${STATIC_CRT}
|
||||
${GIT2_FEATURES}
|
||||
${GIT_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libgit2",
|
||||
"version-semver": "1.4.2",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Git linkable library",
|
||||
"homepage": "https://github.com/libgit2/libgit2",
|
||||
"supports": "!uwp",
|
||||
|
@ -4034,7 +4034,7 @@
|
||||
},
|
||||
"libgit2": {
|
||||
"baseline": "1.4.2",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"libgme": {
|
||||
"baseline": "0.6.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7c2173f86743e6e3c6759d5c781f236c08adbec4",
|
||||
"version-semver": "1.4.2",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "d5c636f8eb77d7d68c2a4b41fcd7d68759fb9ad0",
|
||||
"version-semver": "1.4.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user