Don't install files outside CMAKE_INSTALL_PREFIX

svn path=/trunk/KDE/kdebase/runtime/; revision=1186512
This commit is contained in:
Christophe Giboudeaux 2010-10-16 18:29:32 +00:00
parent 258cfab04b
commit d514ff8d30

View File

@ -17,5 +17,5 @@ qt4_automoc(${graphicswidgetsbindings_SRCS})
add_library(graphicswidgetsbindingsplugin SHARED ${graphicswidgetsbindings_SRCS}) add_library(graphicswidgetsbindingsplugin SHARED ${graphicswidgetsbindings_SRCS})
target_link_libraries(graphicswidgetsbindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}) target_link_libraries(graphicswidgetsbindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
install(TARGETS graphicswidgetsbindingsplugin DESTINATION ${QT_IMPORTS_DIR}/org/kde/plasma/graphicswidgets) install(TARGETS graphicswidgetsbindingsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/graphicswidgets)
install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/org/kde/plasma/graphicswidgets) install(FILES qmldir DESTINATION ${PLUGIN_INSTALL_DIR}/imports/org/kde/plasma/graphicswidgets)