plasma-framework/declarativeimports/graphicslayouts/CMakeLists.txt
Marco Martin 7dae2f58b8 use ${IMPORTS_INSTALL_DIR}
svn path=/trunk/KDE/kdebase/runtime/; revision=1187247
2010-10-18 19:20:08 +00:00

23 lines
733 B
CMake

project(graphicslayoutsbindings)
set(graphicslayoutsbindings_SRCS
graphicslayoutsbindingsplugin.cpp
gridlayout.cpp
linearlayout.cpp
)
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
qt4_automoc(${graphicslayoutsbindings_SRCS})
add_library(graphicslayoutsbindingsplugin SHARED ${graphicslayoutsbindings_SRCS})
target_link_libraries(graphicslayoutsbindingsplugin ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
install(TARGETS graphicslayoutsbindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/graphicslayouts)
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/graphicslayouts)