Use undeprecated ECM install variable
This commit is contained in:
parent
52b6d57942
commit
afaac2d1b0
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,6 @@
|
|||
function(kdeconnect_add_plugin)
|
||||
kcoreaddons_add_plugin(${ARGN} INSTALL_NAMESPACE kdeconnect)
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}_config.qml")
|
||||
install(FILES "${ARGV0}_config.qml" DESTINATION ${DATA_INSTALL_DIR}/kdeconnect)
|
||||
install(FILES "${ARGV0}_config.qml" DESTINATION ${KDE_INSTALL_DATADIR}/kdeconnect)
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
kpackage_install_package(package org.kde.kdeconnect plasmoids plasma NO_DEPRECATED_WARNING)
|
||||
|
||||
if("${QT_MAJOR_VERSION}" STREQUAL 5)
|
||||
install(FILES package/metadata.desktop
|
||||
DESTINATION ${KDE_INSTALL_KSERVICESDIR}
|
||||
RENAME plasma-kdeconnect.desktop)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue