Use non-deprecated KDEInstallDirs variables

parent b81e025c
......@@ -5,4 +5,4 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kcm_kscreen.desktop.cmake
${CMAKE_CURRENT_BINARY_DIR}/kcm_kscreen.desktop
@ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kcm_kscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kcm_kscreen.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
......@@ -5,4 +5,4 @@ set(QML_FILES
Tip.qml
)
install(FILES ${QML_FILES} DESTINATION ${DATA_INSTALL_DIR}/kcm_kscreen/qml)
install(FILES ${QML_FILES} DESTINATION ${KDE_INSTALL_DATADIR}/kcm_kscreen/qml)
......@@ -37,7 +37,7 @@ target_link_libraries(kcm_kscreen
KF5::WidgetsAddons
)
install(TARGETS kcm_kscreen DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kcm_kscreen DESTINATION ${KDE_INSTALL_PLUGINDIR} )
add_executable(kcm_testapp kcm_testapp.cpp ${kcm_kscreen_SRCS})
set_target_properties(kcm_testapp PROPERTIES COMPILE_FLAGS "-DQT_DECLARATIVE_DEBUG")
......
......@@ -41,7 +41,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kscreen.desktop.cmake
kcoreaddons_desktop_to_json(kscreen ${CMAKE_CURRENT_BINARY_DIR}/kscreen.desktop)
install(TARGETS kscreen DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kded)
install(TARGETS kscreen DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded)
set(QML_FILES
qml/Osd.qml
......@@ -50,4 +50,4 @@ set(QML_FILES
qml/OutputIdentifier.qml
)
install(FILES ${QML_FILES} DESTINATION ${DATA_INSTALL_DIR}/kded_kscreen/qml)
install(FILES ${QML_FILES} DESTINATION ${KDE_INSTALL_DATADIR}/kded_kscreen/qml)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment