plasma-framework/declarativeimports/qtextracomponents/CMakeLists.txt
Sebastian Kügler 2654681dfd Add MouseEventListener from mobilecomponents
We need this in some components to work around weaknesses in the
standard MouseArea (such as conditional accepting of events).
MouseEventListener basically provides wiretapping for mouse events,
without blocking them, so they are still effective in the underlying
widgets.
2011-11-25 00:49:53 +01:00

28 lines
739 B
CMake

project(qtextracomponents)
include(KDE4Defaults)
set(qtextracomponents_SRCS
qtextracomponentsplugin.cpp
qpixmapitem.cpp
qimageitem.cpp
qiconitem.cpp
mouseeventlistener.cpp
)
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
qt4_automoc(${qtextracomponents_SRCS})
add_library(qtextracomponentsplugin SHARED ${qtextracomponents_SRCS})
target_link_libraries(qtextracomponentsplugin ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
install(TARGETS qtextracomponentsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)