vcpkg/ports/zydis/zycore.patch
Frank c4451fd00a
[zydis] Update version to v4.1.0 (#39037)
Fix https://github.com/microsoft/vcpkg/issues/38691

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] 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.~~
- [x] 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.
2024-06-03 23:04:10 -07:00

15 lines
502 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62d5de6..ee500c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,7 +138,8 @@ function (locate_zycore)
)
endfunction ()
-locate_zycore()
+find_package(zycore CONFIG REQUIRED)
+add_library(Zycore ALIAS Zycore::Zycore)
# =============================================================================================== #
# Library configuration #