Browse Source

fix non-system mcl

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/392/head
crueter 6 months ago
parent
commit
5dac8c789e
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 11
      src/dynarmic/CMakeLists.txt

11
src/dynarmic/CMakeLists.txt

@ -152,12 +152,20 @@ endif()
find_package(Boost 1.57 REQUIRED) find_package(Boost 1.57 REQUIRED)
find_package(fmt 9 CONFIG) find_package(fmt 9 CONFIG)
# Pull in externals CMakeLists for libs where available
add_subdirectory(externals)
find_package(mcl 0.1.12 REQUIRED) find_package(mcl 0.1.12 REQUIRED)
if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS) if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS)
find_package(oaknut 2.0.1 CONFIG) find_package(oaknut 2.0.1 CONFIG)
endif() endif()
if ("riscv" IN_LIST ARCHITECTURE)
find_package(biscuit 0.9.1 REQUIRED)
endif()
if ("x86_64" IN_LIST ARCHITECTURE) if ("x86_64" IN_LIST ARCHITECTURE)
find_package(xbyak 7 CONFIG) find_package(xbyak 7 CONFIG)
find_package(zycore REQUIRED) find_package(zycore REQUIRED)
@ -176,9 +184,6 @@ if (DYNARMIC_TESTS)
endif() endif()
endif() endif()
# Pull in externals CMakeLists for libs where available
add_subdirectory(externals)
# Dynarmic project files # Dynarmic project files
add_subdirectory(src/dynarmic) add_subdirectory(src/dynarmic)
if (DYNARMIC_TESTS) if (DYNARMIC_TESTS)

Loading…
Cancel
Save