From 57af72a567454b93c757e087b4510a24b81911b1 Mon Sep 17 00:00:00 2001 From: Merry Date: Tue, 19 Apr 2022 20:32:41 +0100 Subject: [PATCH] CMakeLists: Make mcl a public link dependency --- src/dynarmic/CMakeLists.txt | 3 ++- tests/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dynarmic/CMakeLists.txt b/src/dynarmic/CMakeLists.txt index 4f38b161..6fc5a8cf 100644 --- a/src/dynarmic/CMakeLists.txt +++ b/src/dynarmic/CMakeLists.txt @@ -377,10 +377,11 @@ set_target_properties(dynarmic PROPERTIES target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS}) # $ required because of https://gitlab.kitware.com/cmake/cmake/-/issues/15415 target_link_libraries(dynarmic + PUBLIC + $ PRIVATE $ $ - $ tsl::robin_map $ $ diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4dd4d48b..94be83e2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -51,12 +51,12 @@ include(CreateDirectoryGroups) create_target_directory_groups(dynarmic_tests) create_target_directory_groups(dynarmic_print_info) -target_link_libraries(dynarmic_tests PRIVATE dynarmic boost catch fmt mcl xbyak) +target_link_libraries(dynarmic_tests PRIVATE dynarmic boost catch fmt xbyak) 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) -target_link_libraries(dynarmic_print_info PRIVATE dynarmic boost catch fmt mcl) +target_link_libraries(dynarmic_print_info PRIVATE dynarmic boost catch fmt) 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)