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

Port away from ECMPackageConfigHelpers

GIT_SILENT
parent 0887fd38
......@@ -29,7 +29,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(FeatureSummary)
include(GenerateExportHeader)
include(ECMPackageConfigHelpers)
include(CMakePackageConfigHelpers)
include(ECMSetupVersion)
include(ECMQtDeclareLoggingCategory)
......@@ -111,7 +111,7 @@ export(TARGETS KF5KMahjongglib
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5KMahjongglib")
# create the Config.cmake and ConfigVersion.cmake files
ecm_configure_package_config_file(
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5KMahjongglibConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5KMahjongglibConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
......
......@@ -2,8 +2,9 @@
# Any changes in this file will be overwritten by CMake.
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
find_dependency(KF5ConfigWidgets)
include(CMakeFindDependencyMacro)
find_dependency(Qt5Gui @QT_MIN_VERSION@)
find_dependency(KF5ConfigWidgets @KF5_MIN_VERSION@)
include("${CMAKE_CURRENT_LIST_DIR}/KF5KMahjonggLibraryDepends.cmake")
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