From 5bc56ee99d41076dc36543d493d57157d31fa59e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 16 May 2021 11:47:27 +0200 Subject: GIT_SILENT: use qt_ macro --- autotests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotests') diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 121b530a..eb48a134 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -29,12 +29,12 @@ ecm_add_test(${test_kconfigutils_SRCS} ) target_include_directories(test_kconfigutils PRIVATE ../src/kconf_update) -qt5_add_resources(sharedconfigresources sharedconfigresources.qrc) +qt_add_resources(sharedconfigresources sharedconfigresources.qrc) ecm_add_test(ksharedconfigtest.cpp ${sharedconfigresources} TEST_NAME kconfigcore-ksharedconfigtest LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent) # test for fallback to :/kconfig/xxxx config resource -qt5_add_resources(fallbackconfigresources fallbackconfigresources.qrc) +qt_add_resources(fallbackconfigresources fallbackconfigresources.qrc) ecm_add_test(fallbackconfigresourcestest.cpp ${fallbackconfigresources} TEST_NAME kconfigcore-fallbackconfigresourcestest LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent) ecm_add_tests( -- cgit v1.2.1