zyantific / zydis

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

CMake: improve search for Zycore #461

Closed athre0z closed 9 months ago

athre0z commented 9 months 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: