zyantific / zydis

Fast and lightweight x86/x86-64 disassembler and code generation library
https://zydis.re
MIT License
3.47k stars 436 forks source link

CMake: improve search for Zycore #461

Closed athre0z closed 1 year ago

athre0z commented 1 year ago

The changes in this PR should allow Zydis to find Zycore in more situations automatically. Most importantly, find_package(Zycore) is now something that we try automatically. This should allow distributions that ship Zycore as a separate package to do so more easily without having to delve into out CMake logic to discover the ZYAN_SYSTEM_ZYCORE option.

I tested: