summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-packages.7.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-24 00:15:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-12-24 12:02:49 (GMT)
commita1d2bda23e9fb2bc463b3ff5b57f1f88edfd40ca (patch)
tree03b5075832b842acc3260fe9f88093f64fbf9996 /Help/manual/cmake-packages.7.rst
parentf4f6529354a2e551626fb77e22624cf180baa9b0 (diff)
downloadCMake-a1d2bda23e9fb2bc463b3ff5b57f1f88edfd40ca.zip
CMake-a1d2bda23e9fb2bc463b3ff5b57f1f88edfd40ca.tar.gz
CMake-a1d2bda23e9fb2bc463b3ff5b57f1f88edfd40ca.tar.bz2
Don't copy find_dependency in configure_package_config_file.
There is not really any need to. Downstreams can either rely on it being provided by CMake, or copy and distribute it. Change the documented include for the find_dependency macro.
Diffstat (limited to 'Help/manual/cmake-packages.7.rst')
-rw-r--r--Help/manual/cmake-packages.7.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst
index 23a8b68..1ca661e 100644
--- a/Help/manual/cmake-packages.7.rst
+++ b/Help/manual/cmake-packages.7.rst
@@ -375,7 +375,7 @@ dependencies of a package should be found in the ``Config.cmake`` file:
.. code-block:: cmake
- include(CMakePackageConfigHelpers)
+ include(CMakeFindDependencyMacro)
find_dependency(Stats 2.6.4)
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake")
@@ -392,7 +392,7 @@ be true. This can be tested with logic in the package configuration file:
.. code-block:: cmake
- include(CMakePackageConfigHelpers)
+ include(CMakeFindDependencyMacro)
find_dependency(Stats 2.6.4)
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake")