From 905d822810e941c98b7e7ca02d2009e812472330 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Tue, 22 Nov 2022 02:42:52 +0100 Subject: cmake: multiple simplifications --- tests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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) -- cgit v1.2.3