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
This commit is contained in:
parent
d5148f87c0
commit
c107433190
@ -4,7 +4,7 @@ set(test_SRCS
|
|||||||
ki18n_wrap_ui(test_SRCS config.ui)
|
ki18n_wrap_ui(test_SRCS config.ui)
|
||||||
|
|
||||||
add_library(plasma_containmentactions_test MODULE ${test_SRCS})
|
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(TARGETS plasma_containmentactions_test DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
install(FILES plasma-containmentactions-test.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
install(FILES plasma-containmentactions-test.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user