plasma-framework/declarativeimports/graphicswidgets/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

22 lines
698 B
CMake

project(graphicswidgetsbindings)
set(graphicswidgetsbindings_SRCS
graphicswidgetsbindingsplugin.cpp
declarativetabbar.cpp
)
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
qt4_automoc(${graphicswidgetsbindings_SRCS})
add_library(graphicswidgetsbindingsplugin SHARED ${graphicswidgetsbindings_SRCS})
target_link_libraries(graphicswidgetsbindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
install(TARGETS graphicswidgetsbindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/graphicswidgets)
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/graphicswidgets)