aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeModules/dynarmicConfig.cmake.in
blob: 6a5db0162e70172d40eb58bfc02ac24524a8c1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@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@)