dynarmic/CMakeModules/dynarmicConfig.cmake.in

30 lines
645 B
CMake
Raw Normal View History

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