define QML_INSTALL_DIR a bit higher,
until it's merged into KDEInstallDirs.cmake
This commit is contained in:
parent
17ee518ccc
commit
44aca0eccb
@ -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)
|
||||
|
@ -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}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user