define QML_INSTALL_DIR a bit higher,

until it's merged into KDEInstallDirs.cmake
This commit is contained in:
Sebastian Kügler 2013-02-12 04:31:03 +01:00
parent 17ee518ccc
commit 44aca0eccb
3 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
set(QML_INSTALL_DIR "${LIB_INSTALL_DIR}/qml")
message("!!! Forcing Imports install location: ${QML_INSTALL_DIR}")
message("!!! Remove once merged into cmake-extra-modules")
add_subdirectory(core)
#add_subdirectory(draganddrop)
#add_subdirectory(krunnermodel)

View File

@ -27,10 +27,6 @@ set(corebindings_SRCS
qt4_automoc(${corebindings_SRCS})
set(QML_INSTALL_DIR "/qml")
message("!!! Forcing Imports install location: ${QML_INSTALL_DIR}")
message("!!! Remove once merged into cmake-extra-modules")
add_library(corebindingsplugin SHARED ${corebindings_SRCS})
target_link_libraries(corebindingsplugin
${QT_QTSCRIPT_LIBRARY}

View File

@ -22,10 +22,6 @@ INCLUDE_DIRECTORIES(
qt4_automoc(${plasmacomponents_SRCS})
set(QML_INSTALL_DIR "/qml")
message("!!! Forcing Imports install location: ${QML_INSTALL_DIR}")
message("!!! Remove once merged into cmake-extra-modules")
add_library(plasmacomponentsplugin SHARED ${plasmacomponents_SRCS})
target_link_libraries(plasmacomponentsplugin
${QT_QTCORE_LIBRARY}
@ -36,6 +32,7 @@ target_link_libraries(plasmacomponentsplugin
${KDECLARATIVE_LIBRARIES}
plasma)
install(TARGETS plasmacomponentsplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/components)
install(DIRECTORY qml/ DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/components)