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

Drop ECMPackageConfigHelpers for CMakePackageConfigHelpers

parent 66a3e2bb
......@@ -14,7 +14,6 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMPackageConfigHelpers)
include(ECMMarkNonGuiExecutable)
include(CMakePackageConfigHelpers)
include(WriteBasicConfigVersionFile)
......
......@@ -31,7 +31,7 @@ install(FILES ${krunner_dbusAppXML} DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}
install(FILES krunner.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KRunnerAppDBusInterface")
ecm_configure_package_config_file(KRunnerAppDBusInterfaceConfig.cmake.in
configure_package_config_file(KRunnerAppDBusInterfaceConfig.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/KRunnerAppDBusInterfaceConfig.cmake"
PATH_VARS KDE_INSTALL_DBUSINTERFACEDIR
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
......
......@@ -47,7 +47,7 @@ kf5_add_kdeinit_executable( ksmserver ${ksmserver_KDEINIT_SRCS})
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KSMServerDBusInterface")
ecm_configure_package_config_file(KSMServerDBusInterfaceConfig.cmake.in
configure_package_config_file(KSMServerDBusInterfaceConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/KSMServerDBusInterfaceConfig.cmake
PATH_VARS KDE_INSTALL_DBUSINTERFACEDIR
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
......
......@@ -47,7 +47,7 @@ write_basic_config_version_file(${CMAKE_CURRENT_BINARY_DIR}/LibColorCorrectConfi
set(CMAKECONFIG_INSTALL_DIR ${KDE_INSTALL_LIBDIR}/cmake/LibColorCorrect)
ecm_configure_package_config_file(LibColorCorrectConfig.cmake.in
configure_package_config_file(LibColorCorrectConfig.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/LibColorCorrectConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
......
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core "@QT_MIN_VERSION@")
find_dependency(Qt5Quick "@QT_MIN_VERSION@")
find_dependency(KF5Plasma "@KF5_MIN_VERSION@")
......
......@@ -60,7 +60,7 @@ install( FILES kdisplaymanager.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kworkspace5 COMPONENT Devel )
set(CMAKECONFIG_INSTALL_DIR ${KDE_INSTALL_LIBDIR}/cmake/LibKWorkspace)
ecm_configure_package_config_file(LibKWorkspaceConfig.cmake.in
configure_package_config_file(LibKWorkspaceConfig.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/LibKWorkspaceConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
......
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core "@QT_MIN_VERSION@")
include("${CMAKE_CURRENT_LIST_DIR}/LibKWorkspaceLibraryTargets.cmake")
......@@ -98,7 +98,7 @@ write_basic_config_version_file(${CMAKE_CURRENT_BINARY_DIR}/LibTaskManagerConfig
set(CMAKECONFIG_INSTALL_DIR ${KDE_INSTALL_LIBDIR}/cmake/LibTaskManager)
ecm_configure_package_config_file(LibTaskManagerConfig.cmake.in
configure_package_config_file(LibTaskManagerConfig.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/LibTaskManagerConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
......
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core "@QT_MIN_VERSION@")
find_dependency(Qt5Gui "@QT_MIN_VERSION@")
find_dependency(Qt5Quick "@QT_MIN_VERSION@")
......
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