FetchContent: Add support for EXCLUDE_FROM_ALL

Fixes: #20167
This commit is contained in:
Steven Stallion
2023-05-14 14:20:27 -05:00
committed by Craig Scott
parent 4ac624debc
commit 5f77807f1c
6 changed files with 62 additions and 7 deletions
@@ -0,0 +1,7 @@
FetchContent-exclude-from-all
-----------------------------
* The :module:`FetchContent` module's :command:`FetchContent_Declare` command
gained an ``EXCLUDE_FROM_ALL`` option, which propagates through to the
:command:`add_subdirectory` call made by
:command:`FetchContent_MakeAvailable` for the dependency.