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

Drop ECMPackageConfigHelpers for CMakePackageConfigHelpers

parent 12415925
......@@ -17,7 +17,7 @@ include(ECMSetupVersion)
include(ECMGenerateHeaders)
include(CheckIncludeFiles)
include(ECMMarkNonGuiExecutable)
include(ECMPackageConfigHelpers)
include(CMakePackageConfigHelpers)
include(FeatureSummary)
include(GenerateExportHeader)
......@@ -193,7 +193,7 @@ generate_export_header(KScreenLocker
EXPORT_FILE_NAME KScreenLocker/kscreenlocker_export.h
)
ecm_configure_package_config_file(ScreenSaverDBusInterfaceConfig.cmake.in
configure_package_config_file(ScreenSaverDBusInterfaceConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/ScreenSaverDBusInterfaceConfig.cmake
PATH_VARS KDE_INSTALL_DBUSINTERFACEDIR
INSTALL_DESTINATION "${CMAKECONFIG_INSTALL_PREFIX}/ScreenSaverDBusInterface")
......@@ -204,7 +204,7 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/ScreenSaverDBusInterfaceConfig.cmake
DESTINATION "${CMAKECONFIG_INSTALL_PREFIX}/ScreenSaverDBusInterface")
ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KScreenLockerConfig.cmake.in"
configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KScreenLockerConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KScreenLockerConfig.cmake"
INSTALL_DESTINATION "${CMAKECONFIG_INSTALL_PREFIX}/KScreenLocker")
......
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
find_dependency(Qt5X11Extras @REQUIRED_QT_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