diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-05-06 12:33:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-06 12:33:38 (GMT) |
commit | c5dff5ace263c469bbd97d745f3b9eecae40d0aa (patch) | |
tree | 05c5767b7abb1363cbe1e468cde6e7386899caf1 /Help/release | |
parent | 30f91596677b0b93f22b5123d27fb76f494d0864 (diff) | |
parent | 29e31e2825a2cd5099b8abe66f4816919cec934a (diff) | |
download | CMake-c5dff5ace263c469bbd97d745f3b9eecae40d0aa.zip CMake-c5dff5ace263c469bbd97d745f3b9eecae40d0aa.tar.gz CMake-c5dff5ace263c469bbd97d745f3b9eecae40d0aa.tar.bz2 |
Merge topic 'FetchContent_find_package_integration'
29e31e2825 Packages: Integrate FetchContent and find_package()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: huangqinjin <huangqinjin@gmail.com>
Merge-request: !5688
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/FetchContent_find_package_integration.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/release/dev/FetchContent_find_package_integration.rst b/Help/release/dev/FetchContent_find_package_integration.rst new file mode 100644 index 0000000..4ca7afc --- /dev/null +++ b/Help/release/dev/FetchContent_find_package_integration.rst @@ -0,0 +1,17 @@ +FetchContent_find_package_integration +------------------------------------- + +* Integration has been added between the :module:`FetchContent` module and the + :command:`find_package` command, enabling the following new capabilities: + + * :command:`FetchContent_MakeAvailable` can now try to satisfy a dependency + by calling :command:`find_package` first. A new + :variable:`FETCHCONTENT_TRY_FIND_PACKAGE_MODE` variable controls whether + this is done by default for all dependencies, is opt-in per dependency, + or is disabled entirely. + + * :command:`find_package` can be re-routed to call + :command:`FetchContent_MakeAvailable` instead. A new read-only + :variable:`CMAKE_FIND_PACKAGE_REDIRECTS_DIR` variable points to a + directory where config package files can be located to facilitate these + re-routed calls. |