From bc1338420e0ec9fd11f5f93b89237a9dba26ff7b Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 4 Oct 2026 14:20:03 +0200 Subject: [PATCH] cleanup --- cockatrice/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- tests/picture_loader_benchmark/CMakeLists.txt | 2 +- tests/theme_migration/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cockatrice/CMakeLists.txt b/cockatrice/CMakeLists.txt index 8ace2e4f0..c88e3b12c 100644 --- a/cockatrice/CMakeLists.txt +++ b/cockatrice/CMakeLists.txt @@ -692,7 +692,7 @@ if(WIN32) # Windows (including 64bit) # Install the runtime of every linked module explicitly. An unused DLL costs a # few hundred kilobytes; a missing one is what stops the client starting after # an update, and it stays invisible until then. - foreach(_qt_module IN LISTS COCKATRICE_QT_MODULES) + foreach(_qt_module IN LISTS QT_MODULES_COCKATRICE) get_target_property(_qt_module_type ${_qt_module} TYPE) if(_qt_module_type STREQUAL "SHARED_LIBRARY") install(FILES "$" DESTINATION ./) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index bb8e93703..d8acb5436 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -205,7 +205,7 @@ target_link_libraries( ) if(WITH_CLIENT) - target_link_libraries(single_instance_manager_test Threads::Threads ${GTEST_BOTH_LIBRARIES} ${TEST_QT_MODULES}) + target_link_libraries(single_instance_manager_test Threads::Threads ${GTEST_BOTH_LIBRARIES} ${QT_MODULES_TEST}) endif() add_subdirectory(card_zone_algorithms) diff --git a/tests/picture_loader_benchmark/CMakeLists.txt b/tests/picture_loader_benchmark/CMakeLists.txt index a3b75fe88..bdbaf18a2 100644 --- a/tests/picture_loader_benchmark/CMakeLists.txt +++ b/tests/picture_loader_benchmark/CMakeLists.txt @@ -22,5 +22,5 @@ target_link_libraries( libcockatrice_interfaces libcockatrice_utility Threads::Threads - ${TEST_QT_MODULES} + ${QT_MODULES_TEST} ) diff --git a/tests/theme_migration/CMakeLists.txt b/tests/theme_migration/CMakeLists.txt index ac202210e..90c0db057 100644 --- a/tests/theme_migration/CMakeLists.txt +++ b/tests/theme_migration/CMakeLists.txt @@ -20,7 +20,7 @@ target_link_libraries( libcockatrice_protocol Threads::Threads ${GTEST_BOTH_LIBRARIES} - ${TEST_QT_MODULES} + ${QT_MODULES_TEST} ) add_test(NAME theme_migration_test COMMAND theme_migration_test)