mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[libpng] Enable NEON on arm64-linux (#38125)
<!-- If your PR fixes issues, please note that here by adding "Fixes #NNNNNN." for each fixed issue on separate lines. --> Fix https://github.com/microsoft/vcpkg/issues/38114 <!-- If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/. --> <!-- If this PR updates an existing port, please uncomment and fill out this checklist:--> - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
This commit is contained in:
parent
ece635c102
commit
dc363588f4
@ -66,6 +66,10 @@ if(VCPKG_TARGET_IS_ANDROID)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" AND VCPKG_TARGET_IS_LINUX)
|
||||
vcpkg_list(APPEND LIBPNG_HARDWARE_OPTIMIZATIONS_OPTION "-DPNG_ARM_NEON=on")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libpng",
|
||||
"version": "1.6.43",
|
||||
"port-version": 1,
|
||||
"description": "libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files",
|
||||
"homepage": "https://github.com/glennrp/libpng",
|
||||
"license": "libpng-2.0",
|
||||
|
@ -4806,7 +4806,7 @@
|
||||
},
|
||||
"libpng": {
|
||||
"baseline": "1.6.43",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libpopt": {
|
||||
"baseline": "1.16",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1b0781214ef5a3497d0e7db2c0ed7f7fae74248b",
|
||||
"version": "1.6.43",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "8673cfd41804628ce52c499b8d23c5696104ec47",
|
||||
"version": "1.6.43",
|
||||
|
Loading…
x
Reference in New Issue
Block a user