[dynarmic] include catch2 and oaknut properly for tests
All checks were successful
eden-license / license-header (pull_request) Successful in 14s
All checks were successful
eden-license / license-header (pull_request) Successful in 14s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
f19d7520a8
commit
da89aa2c42
2 changed files with 2 additions and 2 deletions
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
|
@ -29,7 +29,7 @@ if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Oaknut (also used by Dynarmic, so needs to be added first)
|
# Oaknut (also used by Dynarmic, so needs to be added first)
|
||||||
if (ARCHITECTURE_arm64)
|
if (ARCHITECTURE_arm64 OR DYNARMIC_TESTS)
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
NAME oaknut
|
NAME oaknut
|
||||||
VERSION 2.0.1
|
VERSION 2.0.1
|
||||||
|
|
2
src/dynarmic/externals/CMakeLists.txt
vendored
2
src/dynarmic/externals/CMakeLists.txt
vendored
|
@ -35,7 +35,7 @@ endif()
|
||||||
# TODO(crueter): dedup
|
# TODO(crueter): dedup
|
||||||
if (NOT TARGET Catch2::Catch2WithMain)
|
if (NOT TARGET Catch2::Catch2WithMain)
|
||||||
if (DYNARMIC_TESTS)
|
if (DYNARMIC_TESTS)
|
||||||
add_subdirectory(catch EXCLUDE_FROM_ALL)
|
find_package(Catch2 3.0.1 REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue