diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-08-02 12:42:08 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-08-03 23:43:10 (GMT) |
commit | 2a9cc3e8e8254eb1703e7e0931fe062814067454 (patch) | |
tree | 2f7c16c2ec61e3cf58be9dcd538ec9d27b277994 /Help/guide/tutorial/Step1/tutorial.cxx | |
parent | a2daa18237f2c3c58c37ab9d1c202c63e0f150a7 (diff) | |
download | CMake-2a9cc3e8e8254eb1703e7e0931fe062814067454.zip CMake-2a9cc3e8e8254eb1703e7e0931fe062814067454.tar.gz CMake-2a9cc3e8e8254eb1703e7e0931fe062814067454.tar.bz2 |
FetchContent: Disable header set verification for dependencies
The CMAKE_VERIFY_INTERFACE_HEADER_SETS variable is intended to
be under the control of the user. It doesn't discriminate between
header sets defined in the main project and those defined by
dependencies brought into the build directly via FetchContent.
Developers will usually only be interested in verifying the main project's
header sets, not those from dependencies.
Make the variable effectively only enable header set verification of the
main project by turning it off during FetchContent_MakeAvailable() calls.
The user still has variables like CMAKE_PROJECT_INCLUDE and
CMAKE_PROJECT_<projectName>_INCLUDE available to them if they
want to enable verification of all or specific dependencies respectively.
Fixes: #23808
Diffstat (limited to 'Help/guide/tutorial/Step1/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions