aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAlexandre Bouvier <[email protected]>2022-11-22 02:42:52 +0100
committermerry <[email protected]>2022-11-26 15:52:30 +0000
commit905d822810e941c98b7e7ca02d2009e812472330 (patch)
tree6abc6ea01755ae3f8e9e66ffe04e86e42170b2ea /tests
parentb24780d10b168140cdee1db10704ca6f95d6850f (diff)
downloaddynarmic-905d822810e941c98b7e7ca02d2009e812472330.tar.gz
dynarmic-905d822810e941c98b7e7ca02d2009e812472330.zip
cmake: multiple simplifications
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 6587e606..5e25a3ca 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -55,7 +55,7 @@ if (DYNARMIC_TESTS_USE_UNICORN)
endif()
if (ARCHITECTURE STREQUAL "x86_64")
- target_link_libraries(dynarmic_tests PRIVATE xbyak)
+ target_link_libraries(dynarmic_tests PRIVATE xbyak::xbyak)
target_sources(dynarmic_tests PRIVATE
x64_cpu_info.cpp
@@ -78,7 +78,7 @@ if (("A32" IN_LIST DYNARMIC_FRONTENDS) AND ("A64" IN_LIST DYNARMIC_FRONTENDS))
create_target_directory_groups(dynarmic_print_info)
- target_link_libraries(dynarmic_print_info PRIVATE dynarmic boost catch fmt)
+ target_link_libraries(dynarmic_print_info PRIVATE dynarmic Boost::boost Catch2::Catch2 fmt::fmt merry::mcl)
target_include_directories(dynarmic_print_info PRIVATE . ../src)
target_compile_options(dynarmic_print_info PRIVATE ${DYNARMIC_CXX_FLAGS})
target_compile_definitions(dynarmic_print_info PRIVATE FMT_USE_USER_DEFINED_LITERALS=1)
@@ -93,7 +93,7 @@ if ("A32" IN_LIST DYNARMIC_FRONTENDS)
create_target_directory_groups(dynarmic_test_generator)
- target_link_libraries(dynarmic_test_generator PRIVATE dynarmic boost catch fmt)
+ target_link_libraries(dynarmic_test_generator PRIVATE dynarmic Boost::boost Catch2::Catch2 fmt::fmt merry::mcl)
target_include_directories(dynarmic_test_generator PRIVATE . ../src)
target_compile_options(dynarmic_test_generator PRIVATE ${DYNARMIC_CXX_FLAGS})
target_compile_definitions(dynarmic_test_generator PRIVATE FMT_USE_USER_DEFINED_LITERALS=1)
@@ -101,7 +101,7 @@ endif()
create_target_directory_groups(dynarmic_tests)
-target_link_libraries(dynarmic_tests PRIVATE dynarmic boost catch fmt)
+target_link_libraries(dynarmic_tests PRIVATE dynarmic Boost::boost Catch2::Catch2 fmt::fmt merry::mcl)
target_include_directories(dynarmic_tests PRIVATE . ../src)
target_compile_options(dynarmic_tests PRIVATE ${DYNARMIC_CXX_FLAGS})
target_compile_definitions(dynarmic_tests PRIVATE FMT_USE_USER_DEFINED_LITERALS=1 CATCH_CONFIG_ENABLE_BENCHMARKING=1)