cmake: make tests optional

This commit is contained in:
Alexandre Bouvier 2022-01-12 00:36:20 +01:00
parent 5d1080d2a8
commit 4b791bcad7
4 changed files with 12 additions and 7 deletions

View file

@ -13,10 +13,6 @@ if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64)
target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
endif()
# Catch
add_library(catch-single-include INTERFACE)
target_include_directories(catch-single-include INTERFACE catch/single_include)
# Dynarmic
if (ARCHITECTURE_x86_64)
set(DYNARMIC_TESTS OFF)