zeek/auxil/vcpkg/ports/zydis/zycore.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04: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 #