mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 18:59:00 +08:00
c4451fd00a
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.
15 lines
502 B
Diff
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 #
|