aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMPackageConfigHelpers.cmake
AgeCommit message (Collapse)Author
2014-10-21If find_dependency() fails, so should the Config file it is inAlex Merry
REVIEW: 120655
2014-04-11Add documentation generation using SphinxAlex Merry
This is deliberately modelled very closely on CMake's documentation system. It's a hefty patch, because it involved changing all the documentation to be in reStructuredText format. I also cleaned up the copyright/license statements at the same time. Note that the find modules contain the full license, due to the fact that ecm_use_find_module() copies them out of the ECM distribution.
2014-03-02find_dependency: Update to match CMake's versionAlex Merry
Specifically, we namespace the variables to avoid conflicts, and make the version argument optional. REVIEW: 116080
2014-02-21Defer to CMake's find_dependency macro if it existsAlex Merry
This will be available in CMake 3.0.0. This way, we automatically pick up any new features from it. REVIEW: 115775
2014-02-18Rename CMakePackageConfigHelpers to ECMPackageConfigHelpersAlex Merry
Overriding a CMake package like this will just cause all sorts of headaches later on. In this particular case, projects that depended on CMake 2.8.13 or later (more likely 3.0.0) would fail with a message about removing the CMakePackageConfigHelpers file, but would have no way to do that while still using ECM. This also renames the configure_package_config_file() macro to ecm_configure_package_config_file(), so that anything including CMakePackageConfigHelpers afterwards does not overwrite the macro unexpectedly. For now, we keep a CMakePackageConfigHelpers.cmake file that just wraps ecm_configure_package_config_file() as configure_package_config_file() to keep the frameworks building while they are ported. REVIEW: 115496 Reviewed by Sune Vuorela <kde@pusling.com>