Commit 1761ac60 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use undeprecated install dirs

Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
parent 8cab1830
Pipeline #166547 passed with stages
in 2 minutes and 45 seconds
......@@ -90,7 +90,7 @@ endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KOpeningHours")
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KOpeningHours")
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KOpeningHoursConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KOpeningHoursConfig.cmake"
......
......@@ -75,7 +75,7 @@ ecm_generate_headers(KOpeningHours_FORWARDING_HEADERS
REQUIRED_HEADERS KOpeningHours_HEADERS
)
install(TARGETS KOpeningHours EXPORT KOpeningHoursTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS KOpeningHours EXPORT KOpeningHoursTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
if (KDE_INSTALL_LOGGINGCATEGORIESDIR) # added by ECM 5.59
install(FILES org_kde_kopeninghours.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
endif()
......
......@@ -11,5 +11,5 @@ target_link_libraries(kopeninghoursqmlplugin
set_property(TARGET kopeninghoursqmlplugin PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/kopeninghours)
file(COPY qmldir DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/kopeninghours)
install(TARGETS kopeninghoursqmlplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kopeninghours)
install(FILES qmldir ${qml_SRC} DESTINATION ${QML_INSTALL_DIR}/org/kde/kopeninghours)
install(TARGETS kopeninghoursqmlplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kopeninghours)
install(FILES qmldir ${qml_SRC} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kopeninghours)
Supports Markdown
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