aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/zydis/zycore.patch
blob: 503daa2a898c11504904eaadfb70bdc2b75e018f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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                                                                           #