Add missing translation domain

It fixes lots of warnings in tests.
This commit is contained in:
Vlad Zahorodnii 2023-03-01 20:58:35 +02:00
parent e5e55195e5
commit 851a025fe0

View file

@ -27,6 +27,10 @@ set_target_properties(kwin PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
)
target_compile_definitions(kwin PRIVATE
-DTRANSLATION_DOMAIN=\"kwin\"
)
target_sources(kwin PRIVATE
3rdparty/xcursor.c
activation.cpp
@ -304,6 +308,9 @@ target_link_libraries(kwin_x11
KWinX11Platform
kwin
)
target_compile_definitions(kwin_x11 PRIVATE
-DTRANSLATION_DOMAIN=\"kwin\"
)
kcoreaddons_target_static_plugins(kwin_x11 "kwin/effects/plugins")
install(TARGETS kwin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
@ -315,6 +322,9 @@ target_link_libraries(kwin_wayland
kwin
KWinXwaylandServerModule
)
target_compile_definitions(kwin_wayland PRIVATE
-DTRANSLATION_DOMAIN=\"kwin\"
)
kcoreaddons_target_static_plugins(kwin_wayland "kwin/effects/plugins")
install(TARGETS kwin_wayland ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})