dynarmic/CMakeModules/dynarmicConfig.cmake.in

34 lines
734 B
CMake
Raw Normal View History

@PACKAGE_INIT@
2023-01-20 23:59:34 +01:00
include(CMakeFindDependencyMacro)
2023-02-27 09:16:10 +01:00
set(ARCHITECTURE "@ARCHITECTURE@")
2023-01-20 23:59:34 +01:00
2023-02-27 09:16:10 +01:00
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)
2023-02-27 09:16:10 +01:00
if ("arm64" IN_LIST ARCHITECTURE)
2024-01-29 22:40:57 +01:00
find_dependency(oaknut 2.0.1)
2023-01-20 23:59:34 +01:00
endif()
2023-02-27 09:16:10 +01:00
if ("riscv" IN_LIST ARCHITECTURE)
find_dependency(biscuit 0.9.1)
endif()
2023-02-27 09:16:10 +01:00
if ("x86_64" IN_LIST ARCHITECTURE)
find_dependency(xbyak 7)
2023-02-27 09:16:10 +01:00
find_dependency(Zydis 4)
2023-01-20 23:59:34 +01:00
endif()
2023-02-27 09:16:10 +01:00
if (@DYNARMIC_USE_LLVM@)
2024-01-29 22:40:57 +01:00
find_dependency(LLVM)
2023-02-27 09:16:10 +01:00
endif()
2023-01-20 23:59:34 +01:00
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
2023-02-27 09:16:10 +01:00
check_required_components(@PROJECT_NAME@)