diff options
| author | Heiko Becker <[email protected]> | 2017-12-01 19:01:59 +0100 |
|---|---|---|
| committer | Heiko Becker <[email protected]> | 2017-12-01 19:27:57 +0100 |
| commit | cd90c04343ba73568c79cad5fa7afb7557460d5e (patch) | |
| tree | bc57b45d2b85d6a06c6eef1f87214229eb7e77fe /CMakeLists.txt | |
| parent | 99883ca8de38551e72d976fd8a5874013eeef6c0 (diff) | |
Use CMakePackageConfigHelpers instead of the ECM variant
Summary:
dolphin already requires cmake >= 3.0, which includes the macro.
Also make sure to include the CMakeFindDependencyMacro.
Reviewers: #dolphin
Differential Revision: https://phabricator.kde.org/D9091
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f83af45c..b594c1405 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) include(ECMSetupVersion) include(ECMGenerateHeaders) -include(ECMPackageConfigHelpers) +include(CMakePackageConfigHelpers) include(GenerateExportHeader) include(FeatureSummary) include(KDEInstallDirs) @@ -108,7 +108,7 @@ add_subdirectory(doc) # CMake files set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/DolphinVcs") -ecm_configure_package_config_file( +configure_package_config_file( "${CMAKE_CURRENT_SOURCE_DIR}/DolphinVcsConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/DolphinVcsConfig.cmake" INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR} |
