Help: Add missing gate for project(SPDX_LICENSE)

The `SPDX_LICENSE` option of the `project` command requires that the
`CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO` gate is enabled, but this was
not documented. Add the missing documentation.

Fixes: #27328
This commit is contained in:
Matthew Woehlke
2025-10-23 11:36:16 -04:00
parent b27be83f4a
commit 6500ea2776

View File

@@ -109,6 +109,9 @@ The options are:
``SPDX_LICENSE <license-string>``
.. versionadded:: 4.2
.. note::
Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO``.
Optional.
Sets the variables