plasma-framework/src/declarativeimports/qtextracomponents/CMakeLists.txt

29 lines
679 B
CMake
Raw Normal View History

project(qtextracomponents)
2013-10-05 06:00:21 +02:00
add_subdirectory(tests)
set(qtextracomponents_SRCS
qtextracomponentsplugin.cpp
qpixmapitem.cpp
qimageitem.cpp
qiconitem.cpp
mouseeventlistener.cpp
columnproxymodel.cpp
clipboard.cpp
)
add_library(qtextracomponentsplugin SHARED ${qtextracomponents_SRCS})
target_link_libraries(qtextracomponentsplugin
Qt5::Core
Qt5::Quick
Qt5::Qml
Qt5::Gui
2013-12-11 14:01:52 +01:00
KF5::Declarative
KF5::IconThemes
KF5::Plasma)
install(TARGETS qtextracomponentsplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/qtextracomponents)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/qtextracomponents)