[gobject-introspection] Fix x86-windows build (#22944)

This commit is contained in:
Max Khon 2022-02-09 09:37:19 +03:00 committed by GitHub
parent 21a69a0302
commit 69acc90924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View File

@ -22,7 +22,8 @@ vcpkg_find_acquire_program(BISON)
set(OPTIONS_DEBUG -Dbuild_introspection_data=false)
set(OPTIONS_RELEASE -Dbuild_introspection_data=true)
if(NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET)
if(NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET AND
NOT (CMAKE_HOST_WIN32 AND VCPKG_TARGET_ARCHITECTURE STREQUAL "x86"))
list(APPEND OPTIONS_RELEASE -Dgi_cross_use_prebuilt_gi=true)
endif()

View File

@ -1,9 +1,10 @@
{
"name": "gobject-introspection",
"version": "1.70.0",
"port-version": 1,
"description": "A middleware layer between C libraries (using GObject) and language bindings.",
"homepage": "https://gi.readthedocs.io/en/latest/",
"supports": "!static & native",
"supports": "!static & (native | (windows & x86))",
"dependencies": [
{
"name": "cairo",

View File

@ -2538,7 +2538,7 @@
},
"gobject-introspection": {
"baseline": "1.70.0",
"port-version": 0
"port-version": 1
},
"google-cloud-cpp": {
"baseline": "1.36.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a39c3bd1142fd69e6dba29cf3bd4c7e93b049406",
"version": "1.70.0",
"port-version": 1
},
{
"git-tree": "5f162cfae947901b4110ea23cb5163699a079cfe",
"version": "1.70.0",