cMakeLists.txt: Fix Zydis target check

externals: Update xbyak to `44a72f3`
This commit is contained in:
Briar
2025-04-02 00:12:55 +02:00
parent 077ff5cc41
commit a971720a0e
2 changed files with 4 additions and 3 deletions

View File

@@ -79,7 +79,8 @@ if (NOT TARGET Zydis::Zydis)
set(ZYDIS_BUILD_DOXYGEN OFF)
set(ZYAN_ZYCORE_PATH "${CMAKE_CURRENT_LIST_DIR}/zycore" CACHE PATH "")
set(CMAKE_DISABLE_FIND_PACKAGE_Doxygen ON)
add_subdirectory(zydis)
add_library(Zydis::Zydis ALIAS Zydis)
if (NOT TARGET Zydis)
add_subdirectory(zydis)
endif()
endif()
endif()