mirror of
https://git.suyu.dev/suyu/dynarmic
synced 2024-11-21 14:29:03 -07:00
33 lines
734 B
CMake
33 lines
734 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
set(ARCHITECTURE "@ARCHITECTURE@")
|
|
|
|
if (NOT @BUILD_SHARED_LIBS@)
|
|
find_dependency(Boost 1.57)
|
|
find_dependency(fmt 9)
|
|
find_dependency(mcl 0.1.12 EXACT)
|
|
find_dependency(tsl-robin-map)
|
|
|
|
if ("arm64" IN_LIST ARCHITECTURE)
|
|
find_dependency(oaknut 2.0.1)
|
|
endif()
|
|
|
|
if ("riscv" IN_LIST ARCHITECTURE)
|
|
find_dependency(biscuit 0.9.1)
|
|
endif()
|
|
|
|
if ("x86_64" IN_LIST ARCHITECTURE)
|
|
find_dependency(xbyak 7)
|
|
find_dependency(Zydis 4)
|
|
endif()
|
|
|
|
if (@DYNARMIC_USE_LLVM@)
|
|
find_dependency(LLVM)
|
|
endif()
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
|
|
check_required_components(@PROJECT_NAME@)
|