Commit 01a8bdc1 authored by Nicolas Fella's avatar Nicolas Fella Committed by Albert Astals Cid
Browse files

Use CMakePackageConfigHelpers instead of ECM variant

parent 03b26698
Pipeline #165965 passed with stage
in 32 seconds
......@@ -8,7 +8,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
include(FeatureSummary)
include(GenerateExportHeader)
include(ECMOptionalAddSubdirectory)
include(ECMPackageConfigHelpers)
include(CMakePackageConfigHelpers)
include(ECMSetupVersion)
include(KDEInstallDirs)
include(KDECMakeSettings)
......@@ -31,7 +31,7 @@ add_subdirectory(lib)
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/QMobipocket")
ecm_configure_package_config_file(
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/QMobipocketConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/QMobipocketConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
......
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