mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 07:13:11 +08:00
[libpq] Fix windows build without openssl (#30650)
This commit is contained in:
parent
a713c5b746
commit
7cda278292
@ -87,9 +87,11 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
vcpkg_cmake_get_vars(vars_file)
|
||||
include("${vars_file}")
|
||||
|
||||
file(STRINGS "${CURRENT_INSTALLED_DIR}/lib/pkgconfig/openssl.pc" OPENSSL_VERSION REGEX "Version:")
|
||||
if(OPENSSL_VERSION)
|
||||
set(ENV{VCPKG_OPENSSL_VERSION} "${OPENSSL_VERSION}")
|
||||
if("openssl" IN_LIST FEATURES)
|
||||
file(STRINGS "${CURRENT_INSTALLED_DIR}/lib/pkgconfig/openssl.pc" OPENSSL_VERSION REGEX "Version:")
|
||||
if(OPENSSL_VERSION)
|
||||
set(ENV{VCPKG_OPENSSL_VERSION} "${OPENSSL_VERSION}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
file(GLOB SOURCE_FILES ${SOURCE_PATH}/*)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libpq",
|
||||
"version": "15.2",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "The official database access API of postgresql",
|
||||
"homepage": "https://www.postgresql.org/",
|
||||
"license": "PostgreSQL",
|
||||
|
@ -4342,7 +4342,7 @@
|
||||
},
|
||||
"libpq": {
|
||||
"baseline": "15.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libpqxx": {
|
||||
"baseline": "7.7.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "29b49eb009f412e692853ca40d353f31711829ea",
|
||||
"version": "15.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "215b5533383016a897deb00d90b9ca5ebefc0469",
|
||||
"version": "15.2",
|
||||
|
Loading…
Reference in New Issue
Block a user