From c10743319007e7d8c1582ba56c3f374b1f8ce259 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Tue, 9 Dec 2014 18:59:26 +0100 Subject: [PATCH] plasma_containmentactions_test: Link to KI18n I get "CMakeFiles/plasma_containmentactions_test.dir/test.cpp.o: test.cpp:function ContextTest::createConfigurationInterface(QWidget*): error: undefined reference to 'ki18n(char const*)'" errors otherwise when building with -DBUILD_EXAMPLES:BOOL=TRUE. Change-Id: I9af913bf182fee20c1e59cd76c840b1e6350c269 --- examples/testcontainmentactionsplugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/testcontainmentactionsplugin/CMakeLists.txt b/examples/testcontainmentactionsplugin/CMakeLists.txt index 2b267dc3b..fb0021fab 100644 --- a/examples/testcontainmentactionsplugin/CMakeLists.txt +++ b/examples/testcontainmentactionsplugin/CMakeLists.txt @@ -4,7 +4,7 @@ set(test_SRCS ki18n_wrap_ui(test_SRCS config.ui) add_library(plasma_containmentactions_test MODULE ${test_SRCS}) -target_link_libraries(plasma_containmentactions_test KF5::Plasma KF5::KIOWidgets KF5::XmlGui) +target_link_libraries(plasma_containmentactions_test KF5::Plasma KF5::I18n KF5::KIOWidgets KF5::XmlGui) install(TARGETS plasma_containmentactions_test DESTINATION ${PLUGIN_INSTALL_DIR}) install(FILES plasma-containmentactions-test.desktop DESTINATION ${SERVICES_INSTALL_DIR})