diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index d1350791f..da1bad4f7 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -49,7 +49,7 @@ if(HAVE_X11) endif() set(coronatest_srcs coronatest.cpp) -qt5_add_resources(coronatest_srcs coronatestresources.qrc) +qt_add_resources(coronatest_srcs coronatestresources.qrc) ecm_add_test(${coronatest_srcs} TEST_NAME coronatest LINK_LIBRARIES Qt5::Gui Qt5::Widgets Qt5::Test KF5::Plasma KF5::CoreAddons KF5::XmlGui) set(sortfiltermodeltest_srcs diff --git a/src/declarativeimports/core/CMakeLists.txt b/src/declarativeimports/core/CMakeLists.txt index a0d6bbc47..adc9eb2ce 100644 --- a/src/declarativeimports/core/CMakeLists.txt +++ b/src/declarativeimports/core/CMakeLists.txt @@ -24,7 +24,7 @@ set(corebindings_SRCS windowthumbnail.cpp ) -qt5_add_resources(corebindings_SRCS shaders.qrc) +qt_add_resources(corebindings_SRCS shaders.qrc) add_library(corebindingsplugin SHARED ${corebindings_SRCS}) target_link_libraries(corebindingsplugin