在 4.2 版被加入.
備註
Experimental. Gated by CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO.
CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO
Value given to the SPDX_LICENSE option of the most recent call to the project() command with project name <PROJECT-NAME>, if any.
SPDX_LICENSE
project()
<PROJECT-NAME>
<PROJECT-NAME>_SOURCE_DIR
<PROJECT-NAME>_VERSION