Warning, /plasma/plasma-integration/src/platforminputcontextplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # keyholdmanager has a ton of definitions where
0002 # needing explicit qstringliteral would negatively affect
0003 # code readability
0004 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0005 
0006 add_library(input_plugin MODULE
0007     main.cpp
0008     plasmaimcontext.cpp
0009     plasmaimcontext.h
0010 )
0011 
0012 target_link_libraries(input_plugin
0013     Qt::Core
0014     Qt::Gui
0015     Qt::Quick
0016     Qt::Widgets
0017     Qt::GuiPrivate
0018     KF5::ConfigCore
0019 )
0020 set_target_properties(input_plugin PROPERTIES OUTPUT_NAME plasmaimplatforminputcontextplugin)
0021 
0022 install(TARGETS input_plugin LIBRARY DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/platforminputcontexts)
0023 
0024 # we want to share this data with some other parts of Plasma; this isn't an API for anyone to use but us
0025 install(DIRECTORY data/ DESTINATION ${KDE_INSTALL_INCLUDEDIR}/PlasmaKeyData)
0026 configure_file(plasma-key-data.pc.in plasma-key-data.pc @ONLY)
0027 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/plasma-key-data.pc DESTINATION ${KDE_INSTALL_LIBDIR}/pkgconfig)