Don't install files outside CMAKE_INSTALL_PREFIX

svn path=/trunk/KDE/kdebase/runtime/; revision=1186511
This commit is contained in:
Christophe Giboudeaux 2010-10-16 18:22:02 +00:00
parent 8637029f79
commit 258cfab04b
2 changed files with 4 additions and 4 deletions

View File

@ -21,5 +21,5 @@ qt4_automoc(${corebindings_SRCS})
add_library(corebindingsplugin SHARED ${corebindings_SRCS})
target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
install(TARGETS corebindingsplugin DESTINATION ${QT_IMPORTS_DIR}/org/kde/plasma/core)
install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/org/kde/plasma/core)
install(TARGETS corebindingsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/core)
install(FILES qmldir DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/core)

View File

@ -18,5 +18,5 @@ 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 ${QT_IMPORTS_DIR}/org/kde/plasma/graphicslayouts)
install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/org/kde/plasma/graphicslayouts)
install(TARGETS graphicslayoutsbindingsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/graphicslayouts)
install(FILES qmldir DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/graphicslayouts)