mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[capnproto] Remove vcpkg_fail_port_install. (#22730)
* [capnproto] Remove vcpkg_fail_port_install. The portfile and vcpkg.json disagreed. ``` vcpkg.json: !uwp & !((arm | arm64) & windows) portfile: !uwp & (!windows | !(arm | arm64)) ``` If we demorgan the supports expression once they agree: ``` !uwp & (!(arm | arm64) | !windows) ``` Also, arm64 implies arm: ``` !uwp & (!arm | !windows) ``` In support of https://github.com/microsoft/vcpkg/pull/21502 * Put the supports expression into DNF as suggested by @strega-nil.
This commit is contained in:
parent
b06a316ff4
commit
4945d50e90
@ -1,8 +1,3 @@
|
||||
vcpkg_fail_port_install(ON_TARGET UWP)
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_fail_port_install(ON_ARCH arm arm64)
|
||||
endif()
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "capnproto",
|
||||
"version": "0.9.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Data interchange format and capability-based RPC system",
|
||||
"homepage": "https://capnproto.org/",
|
||||
"supports": "!uwp & !((arm | arm64) & windows)",
|
||||
"supports": "!windows | (!uwp & !arm)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
@ -1226,7 +1226,7 @@
|
||||
},
|
||||
"capnproto": {
|
||||
"baseline": "0.9.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"capstone": {
|
||||
"baseline": "4.0.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "17b054432f141c746019130d2b689d4fd4919938",
|
||||
"version": "0.9.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "129b6b745372d94f313df0989ad6a8980d7eaef7",
|
||||
"version": "0.9.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user