Files
CMake/Modules
Craig Scott a837f15ebf FetchContent: Set policies for most commands
Previously, FetchContent was relying on the policies of the
includer being compatible with the module. That made the
module vulnerable to subtle problems where policy settings
might lead to unexpected behavior.

With this change, we now specify the policies for as much of
the module as we can without breaking backward compatibility.
Only a few specific implementation details of the
FetchContent_MakeAvailable() macro have to remain uncontrolled
due to the way those parts can invoke user or project code which
may be relying on the includer's policy settings (intentionally or not).
2024-05-27 20:52:16 +10:00
..
2024-05-24 10:30:52 -04:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-05-22 16:51:15 -04:00
2023-11-17 09:58:21 -05:00
2024-04-02 08:07:59 -04:00
2024-01-16 11:57:53 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers