Commit a6913b3d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use non-deprecated KDEInstallDirs variables

GIT_SILENT
parent 9f26c9fb
......@@ -54,7 +54,7 @@ if(BUILD_TESTING)
add_subdirectory(tests)
endif()
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Cddb")
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Cddb")
configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KF5CddbConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5CddbConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
......@@ -77,7 +77,7 @@ install(EXPORT
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/kcddb_version.h"
DESTINATION "${KF5_INCLUDE_INSTALL_DIR}"
DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}"
COMPONENT Devel
)
......
......@@ -23,6 +23,6 @@ target_include_directories(kcm_cddb
PRIVATE ${CMAKE_SOURCE_DIR} # for libkcddb/ prefixed includes of library headers
)
install(TARGETS kcm_cddb DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_cddb DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES libkcddb.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES libkcddb.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcontrol/cddbretrieval5)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kcontrol/cddbretrieval5)
......@@ -100,7 +100,7 @@ include(ECMGeneratePriFile)
ecm_generate_pri_file(BASE_NAME KCddb LIB_NAME KF5Cddb DEPS "Qt5Widgets" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KCddb)
install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
install(FILES libkcddb5.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES libkcddb5.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
ecm_qt_install_logging_categories(
EXPORT KCDDB
......
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