mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:39:01 +08:00
[gobject-introspection] Fix x86-windows build (#22944)
This commit is contained in:
parent
21a69a0302
commit
69acc90924
@ -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()
|
||||
|
||||
|
@ -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",
|
||||
|
@ -2538,7 +2538,7 @@
|
||||
},
|
||||
"gobject-introspection": {
|
||||
"baseline": "1.70.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"google-cloud-cpp": {
|
||||
"baseline": "1.36.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a39c3bd1142fd69e6dba29cf3bd4c7e93b049406",
|
||||
"version": "1.70.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "5f162cfae947901b4110ea23cb5163699a079cfe",
|
||||
"version": "1.70.0",
|
||||
|
Loading…
Reference in New Issue
Block a user