KDEConnectMacros.cmake: Use undeprecated cmake variable

This commit is contained in:
Alexander Lohnau 2023-04-17 19:37:04 +02:00
parent 5dcb60eb99
commit e203e9c049

View file

@ -22,7 +22,7 @@ else()
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()
endif()