From 40be656eede613308e5a3d5fa0c73b3580b2e73b Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sun, 27 Aug 2023 12:09:56 +0200 Subject: [PATCH] Adjust to changed signature of kcoreaddons_target_static_plugins Depends on https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/360 --- autotests/integration/CMakeLists.txt | 2 +- src/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autotests/integration/CMakeLists.txt b/autotests/integration/CMakeLists.txt index afc77d306e..61884526c6 100644 --- a/autotests/integration/CMakeLists.txt +++ b/autotests/integration/CMakeLists.txt @@ -57,7 +57,7 @@ function(integrationTest) add_executable(${ARGS_NAME} ${ARGS_SRCS}) target_link_libraries(${ARGS_NAME} KWinIntegrationTestFramework Qt::Test ${ARGS_LIBS}) if(${ARGS_BUILTIN_EFFECTS}) - kcoreaddons_target_static_plugins(${ARGS_NAME} "kwin/effects/plugins") + kcoreaddons_target_static_plugins(${ARGS_NAME} NAMESPACE "kwin/effects/plugins") endif() add_test(NAME kwin-${ARGS_NAME} COMMAND dbus-run-session ${CMAKE_BINARY_DIR}/bin/${ARGS_NAME}) endfunction() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6861c3fb30..996c1fe3e3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -327,7 +327,7 @@ target_link_libraries(kwin_x11 target_compile_definitions(kwin_x11 PRIVATE -DTRANSLATION_DOMAIN=\"kwin\" ) -kcoreaddons_target_static_plugins(kwin_x11 "kwin/effects/plugins") +kcoreaddons_target_static_plugins(kwin_x11 NAMESPACE "kwin/effects/plugins") install(TARGETS kwin EXPORT KWinTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) install(TARGETS kwin_x11 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) @@ -342,7 +342,7 @@ target_link_libraries(kwin_wayland target_compile_definitions(kwin_wayland PRIVATE -DTRANSLATION_DOMAIN=\"kwin\" ) -kcoreaddons_target_static_plugins(kwin_wayland "kwin/effects/plugins") +kcoreaddons_target_static_plugins(kwin_wayland NAMESPACE "kwin/effects/plugins") install(TARGETS kwin_wayland ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) if (HAVE_LIBCAP)