Adjust to changed signature of kcoreaddons_target_static_plugins

Depends on https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/360
This commit is contained in:
Alexander Lohnau 2023-08-27 12:09:56 +02:00
parent ed8437ed0d
commit 40be656eed
2 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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)