diff options
| author | pastdue <30942300+past-due@users.noreply.github.com> | 2021-01-15 02:19:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 23:19:19 -0800 |
| commit | 0e46f931b08b61f425c709fa3ba73d8a47654236 (patch) | |
| tree | 6e087dd610cd510b8329137772b910130166d79a /ports | |
| parent | f87c92e42c56cf45316ba395504bdfb53967347d (diff) | |
| download | vcpkg-0e46f931b08b61f425c709fa3ba73d8a47654236.tar.gz vcpkg-0e46f931b08b61f425c709fa3ba73d8a47654236.zip | |
[physfs] Enable arm64 for non-Windows targets (#15637)
* [physfs] Enable arm64 for non-Windows targets
* Update version files
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/physfs/CONTROL | 6 | ||||
| -rw-r--r-- | ports/physfs/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/physfs/vcpkg.json | 11 |
3 files changed, 14 insertions, 7 deletions
diff --git a/ports/physfs/CONTROL b/ports/physfs/CONTROL deleted file mode 100644 index de52b6a4c..000000000 --- a/ports/physfs/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: physfs -Version: 3.0.2-2 -Homepage: https://icculus.org/physfs/ -Description: a library to provide abstract access to various archives -Build-Depends: zlib -Supports: !arm64 diff --git a/ports/physfs/portfile.cmake b/ports/physfs/portfile.cmake index 86d56b4fa..18080f5e6 100644 --- a/ports/physfs/portfile.cmake +++ b/ports/physfs/portfile.cmake @@ -1,4 +1,6 @@ -vcpkg_fail_port_install(ON_ARCH "arm64") +if(VCPKG_TARGET_IS_WINDOWS AND ${VCPKG_TARGET_ARCHITECTURE} MATCHES "arm64") + message(FATAL_ERROR "Architecture 'arm64' not supported on target 'Windows' by physfs!\n") +endif() set(PHYSFS_VERSION 3.0.2) vcpkg_download_distfile(ARCHIVE diff --git a/ports/physfs/vcpkg.json b/ports/physfs/vcpkg.json new file mode 100644 index 000000000..7eb40b2a7 --- /dev/null +++ b/ports/physfs/vcpkg.json @@ -0,0 +1,11 @@ +{ + "name": "physfs", + "version-string": "3.0.2", + "port-version": 3, + "description": "a library to provide abstract access to various archives", + "homepage": "https://icculus.org/physfs/", + "supports": "!(arm64 & windows)", + "dependencies": [ + "zlib" + ] +} |
