Files
CMake/Help/prop_tgt/EXPORT_FIND_PACKAGE_NAME.rst
T
Brad King 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate
Some design concerns have been raised after trying the 3.29 release
candidates.  Avoid committing to a stable public interface for now.

Issue: #25767
2024-03-12 14:24:53 -04:00

15 lines
567 B
ReStructuredText

EXPORT_FIND_PACKAGE_NAME
------------------------
.. note::
Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES``.
Control the package name associated with a dependency target when exporting a
:command:`find_dependency` call in :command:`install(EXPORT)` or
:command:`export(EXPORT)`. This can be used to assign a package name to a
package that is built by CMake and exported, or to override the package in the
:command:`find_package` call that created the target.
This property is initialized by :variable:`CMAKE_EXPORT_FIND_PACKAGE_NAME`.